Re: [whatwg/dom] Declarative Shadow DOM (#831)

@sashafirsov

> Template externalizing and making it attached to the element with light DOM payload would solve the problem of moving template.

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."

> As embedded template in current implementation even worse of `for` version as does not separate template from component

Why is it a problem for the template not to be separated from the component?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/831#issuecomment-1255346586
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/831/1255346586@github.com>

Received on Thursday, 22 September 2022 17:39:55 UTC