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

@mfreed7 Have you given any thought as to how streaming can work with declarative shadow DOM? I've used different techniques like in your [proposal repo](https://github.com/mfreed7/declarative-shadow-dom) and the problem I always ran into is that if a big chunk of HTML is inside of templates then the user will not see them until the ending template tag. When using the common technique of having a single root component for your entire app, that means not painting until all HTML is parsed. That's unfortunate. That doesn't mean this doesn't still work well for smaller DOM trees.

Would it be possible to start inserting into the shadow root sooner than the closing template tag?

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

Received on Saturday, 23 May 2020 11:23:10 UTC