- From: Ryosuke Niwa <notifications@github.com>
- Date: Fri, 12 Dec 2025 12:34:30 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 12 December 2025 20:34:33 UTC
rniwa left a comment (whatwg/dom#533) > It seems that instead what most use cases need is to observe (a) `ownerDocument` changes and (b) `parentNode` changes. > > Then we can get all the existing custom element lifecycle hooks: > > * `connectedCallback()` → `ownerDocument` goes from `null` to a non-null value > * `disconnectedCallback()` → `ownerDocument` changes from a non-null value to `null` `ownerDocument` is never `null` so this won't work. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/533#issuecomment-3648057148 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/533/3648057148@github.com>
Received on Friday, 12 December 2025 20:34:33 UTC