broadly speaking, we’re sensitive to the concerns you’re pointing out, and can mitigate.
-
-
Replying to @threepointone
: great! Looking for things to recommend to teams who have made this mistake (in addition to Shadow DOM; best answer)
1 reply 0 retweets 0 likes -
Replying to @slightlylate @threepointone
: speaking of, why not generate <template>s in your SSR & inline styles into stamped Shadow DOM?
1 reply 0 retweets 3 likes -
Replying to @slightlylate @owencm
good one! haven’t considered it. (tbf, haven’t felt the need) will def give it a spin once life calms down.
2 replies 0 retweets 0 likes -
This Tweet is unavailable.
-
This Tweet is unavailable.
-
Replying to @treshugart @threepointone
: yep yep! Also, great way to minimize parse & memory overhead (else, embed style strings as comments)
4 replies 0 retweets 1 like -
Replying to @slightlylate @treshugart and
Would like to be able to annex a sheet from document.styleSheets into shadow root
1 reply 0 retweets 0 likes -
: you can; cloneNode it.
2 replies 0 retweets 0 likes -
Replying to @slightlylate @treshugart and
this is still non ideal for things like fonts bootstrap material icons or animation etc
1 reply 0 retweets 0 likes
: Srsly, try it out. I think you'll be surprised.
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.