Did you see @threepointone's latest mad scientist creation? https://github.com/threepointone/glam/blob/master/README.md …
"Make Alex Happy"
-
-
I'm suspecting style.cssText and using cloneNode can be more efficient than large files w/ selectors in some scenarios. Experimental tho.
-
cloneNode + shadow DOM's is a HUGE win. We de-dupe rules inside shadows & use separate (faster!) resolver.
- 6 more replies
New conversation -
-
-
Specifically with XHR/fetch, you're in the lowest priority network fetch bucket. If the CSS is critical, that's Bad News (TM)
-
And this stuff adds up on low-end devices. Doubling up your costs for everything ([V]DOM, [JS]CSS, etc.) eats your app's headroom.
- 1 more reply
New conversation -
-
-
Can you tell me how to put CSS into shadow DOM without pulling it into the JS engine first (that doesn't only work in Chrome)?
-
Use HTML Imports. Else, <template> is your friend
- 1 more reply
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.