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

@smaug---- 

> overhead is now lower vs light DOM

Should the overhead we care about be against imperative DOM creation?

If you have an app made of custom elements with shadow roots, and you're considering declarative shadow DOM, that's the comparison that matters the most.

IOW, declarative shadow DOM enables SSR for web components, so we care that SSR for web components is as good or better than CSR. We know that shadow DOM has some cost vs doing nothing (mitigate by the fact that only a fraction of elements would have shadow roots), so DSD will necessarily inherit some of that cost.

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

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

Received on Friday, 12 August 2022 15:51:18 UTC