Re: [whatwg/dom] Proposal: A Range.prototype.replaceContents(...) (#837)

@annevk you are right, I've answered something else ... the thing with listeners is that Custom Elements / components might do expensive operations in the `disconnectedCallback` or `connectedCallback`, and there's no way to know if these were triggered after a diffing, as the node maybe was just moved instead, so that actually a `changedPosition` callback could be useful instead, but that's a whole different story. Hopefully this answers better.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/837#issuecomment-593415450

Received on Monday, 2 March 2020 13:59:59 UTC