- From: Keith Cirkel <notifications@github.com>
- Date: Fri, 21 Apr 2023 07:27:58 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 21 April 2023 14:28:04 UTC
This was [originally raised](https://github.com/WICG/webcomponents/issues/716#issuecomment-369368684) by @matthewp:
```js
class MyElement extends HTMLElement {}
customRegistry.define('my-element', MyElement);
new MyElement();
```
I can't see how the discussion concluded this point. Are elements allowed on multiple registries? What happens with the following?
```js
class MyElement extends HTMLElement {}
customElements.define('my-element', MyElement);
customRegistry1.define('my-element', MyElement);
customRegistry2.define('my-element', MyElement);
new MyElement();
```
--
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1007
You are receiving this because you are subscribed to this thread.
Message ID: <WICG/webcomponents/issues/1007@github.com>
Received on Friday, 21 April 2023 14:28:04 UTC