Re: [w3c/webcomponents] Discussion: child elements cannot determine whether they are "active" or not (#817)

@rniwa @domenic @annevk any opinion on this? This happens to be one of the points mentioned by Rich Harris in his post. We need to have a reliable way to avoid carrying on a lot of operations for fragments of the DOM that are not slotted. Until now, `Element.isConnected` was sufficient (although not observable), but with the introduction of the ShadowDOM, this isn't a reliable way anymore. As for custom elements, connectedCallback (which could be considered analogous to `isConnected`) is not sufficient.

-- 
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/817#issuecomment-511918465

Received on Tuesday, 16 July 2019 17:49:39 UTC