You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Simpla imports its elements with the async, which makes their requests non-blocking. This is incorrect behaviour, and worsens the FOUC you get when Simpla's content 'pops' into place. They should instead default to be blocking, like styles and scripts in the head are, and if a user wants to have them async and handle the FOUC themselves, then they can import manually.
This also becomes redundant once #35 is shipped, as we'll be stripping out auto-imports (it will just become a matter of what we document as the recommended practice).
The text was updated successfully, but these errors were encountered:
Currently Simpla imports its elements with the
async
, which makes their requests non-blocking. This is incorrect behaviour, and worsens the FOUC you get when Simpla's content 'pops' into place. They should instead default to be blocking, like styles and scripts in thehead
are, and if a user wants to have them async and handle the FOUC themselves, then they can import manually.This also becomes redundant once #35 is shipped, as we'll be stripping out auto-imports (it will just become a matter of what we document as the recommended practice).
The text was updated successfully, but these errors were encountered: