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

@rniwa Yes, however you're missing a key point there: to avoid leaking memory and keeps things proper, the observer needs to be created in `connectedCallback` and reciprocally disposed in `disconnectedCallback`. If you do it in `connectedCallback`, you'll see it doesn't work.

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

Received on Wednesday, 30 January 2019 16:44:29 UTC