Keep waiting for web developers to realize that Shadow DOM is the "modules for CSS" they've all been waiting for and _freak out_.
-
-
Replying to @slightlylate
Maybe I'm missing something but it seems to be hard to optimize across components?
3 replies 0 retweets 6 likes -
Replying to @chriseppstein
Duplication is nearly free; separate style resolver, etc. Shadow DOM frequently a perf *win*
1 reply 0 retweets 2 likes -
-
-
Replying to @chriseppstein @TheLarkInn
If you cloneNode() your shared stylesheets into your components, the browser is clever from there on out about the duplication
1 reply 0 retweets 1 like
Added benefit is that doesn't turn styles into JS strings in the middle either.
11:25 PM - 17 Jun 2017
0 replies
0 retweets
2 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.