- From: Sasha Firsov <notifications@github.com>
- Date: Mon, 05 Feb 2024 21:47:10 -0800
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 6 February 2024 05:47:17 UTC
As been mentioned by [HTML modules - problem statement](https://discord.com/channels/767813449048260658/1198656155963101225) , `There are a number of issues with that proposal. One big one is that you can't define exports without using script. Its design seems to not consider the possibility of a DCE.` The pure declarative implementation can rely completely on referencing the template( or any another element) DOM subtree. Same is applicable when importing from JS. Such approach is working for declarative and JS use. Samples in DCE POC: https://unpkg.com/@epa-wg/custom-element@0.0.14/demo/external-template.html -- Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/334#issuecomment-1928826826 You are receiving this because you are subscribed to this thread. Message ID: <w3ctag/design-reviews/issues/334/1928826826@github.com>
Received on Tuesday, 6 February 2024 05:47:17 UTC