Exactly why I still use CSS Modules, despite all the great work with CSS-in-JS.https://twitter.com/DavidWells/status/851204389918228480 …
As in you'd include the same rules in the document twice, once in the rendered output and once in the JS?
-
-
Yeah, similar to React—return a static first render for initial load, plus the code required to dynamically generate it client-side.
-
Might get a first paint faster, but likely slower TTI (although that's a footrace). ¯\_(ツ)_/¯
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.