Suppose I want to use a web component that use 10 web component internally, and if the component define it globally, Internals will pollute my global component namespace and I can't use their name for another components.
Is there any way to use a web component inside another web component without defining it via customElements.define()
?
There is some discussion around creating scoped custom element registries but nothing has a spec or been implemented yet.