Is this re: CSS-in-JS?
At runtime, flipping `.classList` values will likely be faster than forcing us to re-run the parser over values you feed.
-
-
Also, you haven't pulled all of those strings into the JS heap (including the intermediates we likely create there).
-
So my advice for folks who want to do the CSS-in-JS thing is to find a system that compiles the rulesets out and bottoms out at class set/unset.
- 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.