- From: Steve Orvell <notifications@github.com>
- Date: Fri, 03 May 2024 13:34:34 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 3 May 2024 20:34:38 UTC
After discussion at the [April F2F](https://github.com/WICG/webcomponents/issues/1050#issuecomment-2093610922). Implementor consensus seemed to point to a concern over memory use related to the need to track an element's "active registry.". An alternate proposal that seemed more feasible was to add `registry` to the options for [setHTML](https://developer.mozilla.org/en-US/docs/Web/API/Element/setHTML). For example: ```js const d = shadowRoot.createElement('div'); d.setHTML(`<x-foo></x-foo>`, {registry: shadowRoot.registry}); ``` -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1040#issuecomment-2093725017 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1040/2093725017@github.com>
Received on Friday, 3 May 2024 20:34:38 UTC