CustomElementRegistry
The CustomElementRegistry is a global object in web browsers that provides an interface for defining and managing custom HTML elements. It is a core part of the Custom Elements API, which allows developers to extend HTML with their own elements that have custom behavior and styling. When you define a custom element using the `customElements.define()` method, you are registering it with the CustomElementRegistry.
The registry stores a mapping between the custom element's tag name (e.g., "my-component") and its associated class
There are limitations on the names that can be used for custom elements. They must contain a