Re: [w3c/webcomponents] Expose shadowRoot on element internals (#871)

@rniwa 

> attachShadow during custom element constructor returns the declarative Shadow DOM instead of creating one.

that seems a lot more complicated, `Element.prototype.shadowRoot` getter will return the instance during construction, and return `null` after the construction phase when declarative is closed. Sounds like hazardous for developers.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/871#issuecomment-604008584

Received on Wednesday, 25 March 2020 18:26:46 UTC