Is "double parse" what happens when CSS strings are embedded in JS like Webpack does?
-
-
Inline style (.style.foo = ...) or setting .cssText is probably the slowest way to apply style. Classes and ids would be the fastest.
- 14 more replies
New conversation -
-
-
Chrome de-dups <style> elements that contain the exact same text. A sheet in the ShadowRoot of your component, reduces CSS waste naturally.
- 10 more replies
New conversation -
-
-
There's articles like https://developers.google.com/web/fundamentals/getting-started/primers/shadowdom … apple also had some blog posts I think.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.