A big advantage of CSS in JS(X): One language (JS), not three (JS, HTML, CSS). One linter. One code style. One type system. One test system.
-
-
elaborate? They compile to `<style>`, which in our case is server-rendered
-
and then new `<style>` get populated only upon page transitions
- 2 more replies
New conversation -
-
-
are you saying that inline styles are considerably slower than CSS? Any benchmarks/data to share?
-
: putting your styles in script delays all processing of them until script runs. Inline not great, but it's complicated.
End of conversation
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.