Re: [w3c/webcomponents] [feature request] change when upgrade/connected happens during parsing, so that it is the first event in the following microtask (#787)

A MutationObserver watching for childList changes is the approach I would recommend. No built-in elements with child/parent relationships care about the connectedness of their children (as opposed to just looking at the connectedness of the parent), so I don't have a framework to advice you on the design you seem to be going for where that does matter for some reason.

-- 
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/787#issuecomment-458412430

Received on Tuesday, 29 January 2019 05:27:44 UTC