I have conditional logic to block data from the front end in certain situations. I noticed that sometimes that information flashes on the screen before being hidden by the conditional statements. I looked at the console and saw the following warning…
“Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content.”
Any ideas on how I can fix this?