I am building a PWA (PHP/HTML/CSS/JS, not Node) where speed is essential.
In my PWA I have several elements (e.g. pop overs) conditionally showing.
When I load the PWA, all these elements show up for a split second.
This also suggests that these elements are loaded (which has an impact on speed).
What would be the best way to avoid this from happening and ensure that only those who are supposed to be shown are shown?