- From: Ryosuke Niwa <notifications@github.com>
- Date: Wed, 01 May 2019 20:43:55 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 1 May 2019 20:44:17 UTC
> > I think this needs to be a custom element reaction callback. > That's probably limiting. I feel that this is in the same boat as the connect/disconnect reaction that we were asking for last week during the F2F, something a lot more generic. For general nodes, you can just use MutationObserver. If you wanted it sooner, then that's a discussion that has to happen in https://github.com/whatwg/dom/issues/533 > Now, if we were to add a new reaction callback, will that callback be invoked even when the CE is not connected to the DOM? You mean when it's not connected to a document? If so, then yes. There is no reason to restrict this `childChangedCallback` to the 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/809#issuecomment-488416247
Received on Wednesday, 1 May 2019 20:44:17 UTC