Re: [WICG/webcomponents] [scoped-registries] Interaction with declarative shadow DOM (#914)

Scoping registry only within current `getRootNode()` prevents creation of "horizontal" namespace for libraries of custom elements. 
If you familiar with C++ concept  of "namespace", it is a natural scoping for related yet distributed across modules( i.e. dom-wide) names.

Root based scoping is a good default for scoping though. 
Note, not a shadow root, but general as there is a discussion of components without insulation yet following css scoping+template/slots. I guess `getRootNode()` is proper anchor for such disregarding shadow root or not.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/914#issuecomment-1228036541
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/914/1228036541@github.com>

Received on Friday, 26 August 2022 04:23:16 UTC