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

But it doesn't work during parsing. This [codepen example](https://codepen.io/trusktr/pen/d0a996585d8ca4dd7dd48861f8537fd2) shows that the `console.log` in the `childConnectedCallback` (implemented with `MutationOBserver`) will never fire for the initial children.

So we need another way to work with initial children.

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

Received on Tuesday, 29 January 2019 06:14:18 UTC