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

That seems like a very wrong way to use MutationObservers. @rniwa's approach is the correct one; I'm not sure where you got the idea that they "leak memory" or are "kept proper" by for some reason tying them to connectedCallback and disconnectedCallback. Mutations can happen any time; connected or not.

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

Received on Wednesday, 30 January 2019 16:46:07 UTC