I'm using a form within my app which is connected to SharePoint as a data source. I have built my app as responsive as my users will be accessing from the app from different divices e.g mobile, laptop etc.
In order to get my data cards within my form to adapt to different screen sizes i've used the switch function see below,
Switch(
'Main Screen'.Size,
Small,
12,
Medium,
15,
17
)
Is this the reason why I'm having a performance impact? Can I create a global variable on app on start to get round this or would this also an impact on the app loading up.
Thanks