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

@nolanlawson ,
> Why is it a problem for the template not to be separated from the component?

Because 1-time use of template is nonsense. It defeats the sole purpose of template: be reused multiple times. Only scenario where inline template could be applied is on server side rendering where you have to CLONE same template in order to be used for several components. Which is reducing efficiency as server as client ( due to  cloned spaghetti DOM structure) 

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

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

Received on Friday, 23 September 2022 08:21:00 UTC