Less FOIC #2898
wildfiremedia
started this conversation in
3. Feature Ideas
Less FOIC
#2898
Replies: 1 comment 2 replies
-
You can implement it by yourself with x-init, but... Basically you are hiding the whole page until your javascript executes (so even if the script is deferred, it's actually blocking the page rendering). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
One interesting effect I have noticed that Twind use
Which makes FOIC Flash of Invisible Content - less likely noticeable when doing Javascript fetch() with JSON.
Compare to Alpine.js using, I still get a glaring delay FOIC with Javascript fetch.
Could Twind's resolution removed
hidden
be implement in Alpine.js?Doc reference:
https://twind.dev/handbook/the-shim.html#basic-usage
Beta Was this translation helpful? Give feedback.
All reactions