Skip to content

[pull] main from react:main - #651

Merged
pull[bot] merged 2 commits into
code:mainfrom
react:main
Aug 31, 2026
Merged

[pull] main from react:main#651
pull[bot] merged 2 commits into
code:mainfrom
react:main

Conversation

@pull

@pull pull Bot commented Aug 31, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

josepharhar and others added 2 commits August 31, 2026 16:16
Co-authored-by: Sebastian "Sebbie" Silbermann <sebastian.silbermann@vercel.com>
)

Fragment IntersectionObserver targets used to stay observed after a
child was removed so the exit record (isIntersecting: false) could still
fire, but that left the observer holding detached nodes. We now
unobserve ResizeObserver targets immediately, and delay
IntersectionObserver unobserve until after paint so the exit still
lands, then drop the strong ref.

If the same node is reinserted before that flush, we cancel the pending
unobserve so a later cleanup does not detach a child that’s still
visible.

Closes #37452
Closes #37302
Fixes #37451
@pull pull Bot locked and limited conversation to collaborators Aug 31, 2026
@pull pull Bot added the ⤵️ pull label Aug 31, 2026
@pull
pull Bot merged commit 065bc84 into code:main Aug 31, 2026
13 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

3 participants