- From: Sébastien Lorber <notifications@github.com>
- Date: Mon, 25 Nov 2024 09:16:06 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 25 November 2024 17:16:10 UTC
FYI React experimental reconcilier integration PR: https://github.com/facebook/react/pull/31596 with preference for not throwing apparently: > The other reason it's still off is because there's currently a semantic breaking change. `moveBefore()` errors if both nodes are disconnected. That happens if we're inside a completely disconnected React root. That's not usually how you should use React because it means effects can't read layout etc. However, it is currently supported. To handle this we'd have to try/catch the `moveBefore` to handle this case but we hope this semantic will change before it ships. Before we turn this on in experimental we either have to wait for the implementation to not error in the disconnected-disconnected case in Chrome or we'd have to add try/catch. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1255#issuecomment-2498593672 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1255/2498593672@github.com>
Received on Monday, 25 November 2024 17:16:10 UTC