- From: Nolan Lawson <notifications@github.com>
- Date: Sat, 12 Oct 2024 11:38:09 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 12 October 2024 18:38:13 UTC
Revisiting this after [feedback](https://dev.to/ryansolid/web-components-are-not-the-future-48bh) from @ryansolid on how WCs add extra work for framework authors… This seems like a case where we may want to reconsider the current approach. [This part of the spec](https://github.com/WICG/webcomponents/issues/1043#issuecomment-1883480452) would effectively force frameworks to replace current usages of `document.createElement` and `document.importNode`, which is a big ask. Meanwhile, Salesforce has (I believe) the largest deployment of a scoped custom element registry polyfill, and our approach is not based on this design at all but rather on something closer to `registry.run()`, which is (AFAICT) compatible with how frameworks currently work, since it just implies that `document.createElement` et al means something different when running in the registry context. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1043#issuecomment-2408655250 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1043/2408655250@github.com>
Received on Saturday, 12 October 2024 18:38:13 UTC