Re: [whatwg/dom] Disconnect single target instead of all (#126)

trusktr left a comment (whatwg/dom#126)

> would running `takeRecords` and setting a new dummy observer on the same node be a valid way to emulate `unobserve` or is there some edge case that I didn't think about?

`takeRecords` will take the current records, but future mutations will still trigger the MO's callback. `unobserve` is supposed to entirely stop the target from being further observed.

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

Message ID: <whatwg/dom/issues/126/2833729071@github.com>

Received on Monday, 28 April 2025 00:31:33 UTC