Re: [w3c/webcomponents] [idea] childConnectedCallback and childDisconnectedCallback (#550)

> if the MutationObserver is created in connectedCallback, then it doesn't fire for children during parsing.

nobody said that is the place indeed and you should add the observer within the constructor.

The connected/disconnected can be either a flag or a dumb `this.ownerDocument.contains(this)` that is an evergreen synchronous check for connected nodes

-- 
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/550#issuecomment-459845243

Received on Friday, 1 February 2019 19:47:42 UTC