Replies: 1 comment
-
It happens inside useLayoutEffect when used hooks or componentDidMount if used HOC interface as of today. Both are called by react synchronously after inserting the DOM node, so browser has not yet calculated or drawn the styles when we insert them. This is why there should be no FOUC. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Lazy evaluation - Style Sheets get created when a component gets mounted.
Beta Was this translation helpful? Give feedback.
All reactions