Re: [w3c/webcomponents] Need a callback for when children changed or parser finished parsing children (#809)

A common ask that keeps coming up is the ability to know when a child node has been inserted & updated: e.g. https://github.com/w3c/webcomponents/issues/765, https://github.com/w3c/webcomponents/issues/619, https://github.com/w3c/webcomponents/issues/615

To do this, just knowing when a child is inserted or removed isn't quite enough due to async / out-of-order upgrading. Perhaps we need both `childChangedCallback` and `childDefinedCallback` the latter of which gets called when a child node is inserted & upgraded / defined.

Also see https://github.com/whatwg/dom/issues/662

-- 
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-488093265

Received on Tuesday, 30 April 2019 19:58:42 UTC