Hello, I have been running into something that I hope someone can shed some light on. I noticed that as I am developing custom modules for my theme, that when they are fairly simple, I can edit the content on the left sidebar of the page editor and I can see the changes occur in real time. These are things like changing button sizes, colors, text, backgrounds, etc. But the problem I am running into is that there seems to be a complexity threshold, where when I get past a certain level of features and customization on the module, the changes can no longer be seen in real time, you have to hit the "Apply changes" button to see your edits take effect. I worry that this significantly lessens the convenience and user experience of someone editing their website, especially if they are working on a module towards the bottom of the page. In that case they have to refresh the whole page (via the "Apply changes" button) and scroll all the way back down to the module to see any little change they could have made.
Is anyone else experience this? Does anyone know the complexity threshold where edits change from being visible in real-time to needing to refresh the page? Is there anything that can be done to mitigate this, like divide code blocks into macros and import them, so there is less code on the module?
Any insight or advice would be greatly appreciated.