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

I wonder: will there ever be a web standard that could allow us to perform SSR (or basically serve an initial payload with all HTML content visible up front both for good SEO and user experience) in such a way that would could choose any custom elements that exist today and use them and they'd all work within the system?

With `Declarative-Custom-Elements`, wouldn't custom elements need to be created a certain way so as to be compatible with SSR? Or would we be able to take advantage of Declarative-Custom-Elements in such a way that we could literally pick any custom elements that may exist from anywhere (f.e. consume any custom elements we can find on http://webcomponents.org/) and all the elements would simply just work within an SSR system.

Note, by SSR I also mean it could be statically served without a server.
 
Is it possible to come up with some standard that would allow us to make an SSR system whereby absolutely any existing `v1` custom element would be compatible with it (without having to modify any of the elements' implementations)?

-- 
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/510#issuecomment-655252906

Received on Wednesday, 8 July 2020 03:01:53 UTC