- From: Toni-Jan Keith Monserrat <notifications@github.com>
- Date: Tue, 31 Oct 2017 23:45:44 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 31 October 2017 23:46:11 UTC
``` <div> <shadowroot> ... </shadowroot> ... </div> ``` I think this is an anti-pattern because we are defining a `shadowroot` on a standard element (like `div`, `span`, `main`, etc...) which if I remember it right, will not work. And if we use a `custom-element`, we really don't need to put a `shadowroot` element because there's already a template mechanism being used that defines the shadowDOM of that custom element. The only thing needed is some SSR library to render that shadowDOM into a `shadowroot`, and then append/prepend it. -- 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-340939441
Received on Tuesday, 31 October 2017 23:46:11 UTC