Scoped custom element registries are now available by default in Chrome 146 and Edge, solving the long-standing problem of name collisions in the global `window.customElements` registry. Developers can now create independent registries and scope them to a shadow root, a disconnected document, or an individual element. This
•5m read time• From developer.chrome.com
Table of contents
What's a scoped custom element registry?Create a new registryScope your registryLearn moreSort: