If you spot a site that's slow *because* of css-in-js, lemme know. //@slightlylate
-
-
the latter part - can you go into some detail? what are the big problems with doing so?
-
First, you double memory cost. The string is parsed in JS, interned in the V8/DOM shared string area, then *parsed again* when applied
- 4 more replies
New conversation -
-
-
if you truly don't care how its written, why do you care about css strings in js?
-
Because that's an aspect of how it *runs*; whatever tool you used that put it there shouldn't do that.
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.
there are definitely some bad practices, want to enumerate and educate based on real usage