PSA: embedding/applying CSS in JS is the surefire way to be on every slow path. Bloats memory, slows parsing & use, hurts caching. Avoid.
-
-
Replying to @slightlylate
we should be fixing these perf problems instead of trying to shame developers out of a preferred workflow.
6 replies 3 retweets 32 likes -
Replying to @mikeal
we've been trying for years. HTML Imports, which completely fixes this, is still stuck in limbo.
@slightlylate3 replies 0 retweets 9 likes -
doesn't work in a web worker
1 reply 0 retweets 0 likes -
Replying to @matthewcp @justinfagnani
: wat. Srsly, tho. How far are we down the rabbit hole when that's the concern?
1 reply 0 retweets 0 likes -
you tweet daily about how running any code at all in the main thread destroys perf, so that far.
1 reply 0 retweets 1 like -
Replying to @matthewcp @justinfagnani
: but this is UI code. It has to run on the UI thread.
2 replies 0 retweets 1 like
: also, I'm not absolutist. Load (some) code! Just do it in proportion to what's in view & watch budgets.
8:41 PM - 24 Mar 2017
0 replies
0 retweets
0 likes
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.