- From: Sasha Firsov <notifications@github.com>
- Date: Mon, 14 Apr 2025 20:21:52 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 15 April 2025 03:21:56 UTC
sashafirsov left a comment (WICG/webcomponents#1099) > How are components loaded? Perhaps it has a sense to rephrase > How are components declared and loaded? * distribution in same fashion as JS modules. Module maps would shape the location. * the resource load and the reference should be separated as the template can reside in (x)html among of others which on its own can be inside of web archive. That would need the introduction of template DOM reuse instead of clone. Quite significant change for vendors and huge win for consumers. * Loading according the hydration rules, which have to be available for explicitly stated similar to `defer` in scripts. Of cource the (de-)hydration scopes need to be cleared to be more than SSR or scroll into view. * the loading should support streaming and parallel initialization. Of cource it is up to vendor, but the DCE declaration should not block by introducing incompatible patterns. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1099#issuecomment-2803655192 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1099/2803655192@github.com>
Received on Tuesday, 15 April 2025 03:21:56 UTC