- From: Sasha Firsov <notifications@github.com>
- Date: Fri, 23 Sep 2022 01:16:34 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 23 September 2022 08:16:46 UTC
@nolanlawson , > In the first two examples you provide, how would this solve the problem of moving the template? It seems the parser would need to parse the <template> as normal, since there's no signal (like shadowroot) to indicate that the template is "virtual." Independent template parsing is done in a usual way. When its parsing, there is no instantiation. Which is a usual convention for HTML parser and even simpler as there is no need to treat internal DOM till the moment the hydration of component which refers it. That would solve the purpose of this proposal by @justinfagnani : > I look at this proposal mainly as a way to re-establish the ability to meaningfully serialize a DOM tree (now that include shadow roots). -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/831#issuecomment-1255920925 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/831/1255920925@github.com>
Received on Friday, 23 September 2022 08:16:46 UTC