Just a sense for what's coming for web development this year: Shadow DOM is CSS Modules Done Right (TM). Going to disrupt tooling bigtime.
-
-
Replying to @slightlylate
If your framework carries around a runtime solution to CSS scoping, it's about to be bloat. Same for DOM traversal w/ components
4 replies 2 retweets 15 likes -
Replying to @slightlylate
And this isn't little. It's what component systems in JS frameworks *do*. They insulate you from the flattened tree. About to be native
3 replies 0 retweets 10 likes -
Replying to @slightlylate
Naive question, perhaps - native SD doesn't give you as nice a DX as React does though, does it? Or is the end game likely 1/
1 reply 0 retweets 0 likes -
Replying to @AdamRackis @slightlylate
that React would use native SD when available, and fallback to its own on older browsers? 2/2
1 reply 0 retweets 0 likes -
Replying to @AdamRackis
: React can do whatever; it bottoms out at DOM. Best-case is probably Web Components for leaf nodes
1 reply 1 retweet 2 likes
: that is to say, treat the leaves as encapsulated controls with DOM props/attrs as API. Let them handle their SDs
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.