If you spot a site that's slow *because* of css-in-js, lemme know. //@slightlylate
-
-
-
Replying to @slightlylate
there are definitely some bad practices, want to enumerate and educate based on real usage1 reply 0 retweets 4 likes -
Replying to @threepointone @slightlylate
Also often it's hard to optimize without real world examples. I'm sure CSS-in-js could be optimized even further. We're not done here.
1 reply 0 retweets 1 like -
Replying to @kentcdodds @threepointone
Just to be *super* clear: I don't care how you write your code, only how it runs. And when it runs, it should not embed CSS as strings in JS
2 replies 2 retweets 9 likes -
Replying to @slightlylate @kentcdodds
the latter part - can you go into some detail? what are the big problems with doing so?
2 replies 0 retweets 2 likes -
Replying to @threepointone @slightlylate
I would expect you care less about embedding strings in JS and more about that it runs fast on mobile. Implementation details matter less.
2 replies 0 retweets 1 like
This is engineering, not metaphysics. Implementation details are everything.
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.