- From: Ryosuke Niwa <notifications@github.com>
- Date: Tue, 31 Oct 2017 19:59:57 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 31 October 2017 20:00:19 UTC
> Given `disconnectedCallback` is already there, wouldn't this just be some sugar? Or are you suggesting to get rid of `disconnectedCallback`? `disconnectedCallback` happens as a [custom element reactions](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-reactions). We shouldn't fire events at this timing since that results in multiple listeners racing to undo one another's changes. At the earlier we could fire would be the end of the micro-task timing which would be much later than when `disconnectedCallback` happens. -- 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/678#issuecomment-340889011
Received on Tuesday, 31 October 2017 20:00:19 UTC