4 ms·
Scoped custom element registries should help with this letting you register to a shadow root instead of globally. [1] Unfortunately Firefox hasn't come to the
by cube00 2mo ago
Scoped custom element registries should help with this letting you register to a shadow root instead of globally. [1] Unfortunately Firefox hasn't come to the party yet. [2]
[1]: https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements#scoped_custom_element_registries https://developer.mozilla.org/en-US/docs/Web/API/Web_compone...
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1874414 https://bugzilla.mozilla.org/show_bug.cgi?id=1874414