I see this as similar to the global scope in JavaScript. Yes, that’s the way the language works and it’s good to understand it, but modules are so much better for developers. Lowering cognitive overhead to get started is always a good thing.https://twitter.com/yoavweiss/status/1039434537317687296 …
-
-
This is why we built Shadow DOM, FWIW. SD isolates your styles so you're operating on a small tree based on the observation that CSS only works in the small.
-
I'm obviously pretty disappointed that Mozilla and MSFT have dragged their feet for so long. It's transformational once you can rely on a true scoping mechanism.
- 6 more replies
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.