- From: Nolan Lawson <notifications@github.com>
- Date: Wed, 10 Jan 2024 12:43:29 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 10 January 2024 20:43:40 UTC
OK, I just chatted with @rwaldron (who knows way more about this stuff than I do). Basically, our use case can only be solved if it's possible for legacy code (which uses global `customElements.define()` and `document.createElement()`) to use a scoped registry. So this means that `findTheShadowRootSomehow().createElement()` is not really viable for us, since we can't expect code authors to hook into purely scoped APIs. In our world, something more like @EisenbergEffect's `registry.run(() => {})` would be much closer to what we currently have. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1043#issuecomment-1885691115 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1043/1885691115@github.com>
Received on Wednesday, 10 January 2024 20:43:40 UTC