Re: [w3c/webcomponents] connectedCallback timing when the document parser creates custom elements (#551)

 > Mutation observers.

For now in chrome canary ( i don't know if it matches the spec or not), if i try to get all children with an observer even in constructor(), the observer is fired 2 times as you can see in [this jsfiddle](https://jsfiddle.net/7j1qcy4u/1/).
So if i just want to have a list of initial children, i don't know when i have to disconnect the observer and do the work?

> An alternative is to add childrenChangedCallback: #550

Why not if all initial children are returned in one call.


-- 
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/551#issuecomment-241821902

Received on Tuesday, 23 August 2016 18:07:42 UTC