Skip to content

[pull] main from facebook:main#158

Merged
pull[bot] merged 2 commits into
LoadsAForks:mainfrom
react:main
Aug 13, 2025
Merged

[pull] main from facebook:main#158
pull[bot] merged 2 commits into
LoadsAForks:mainfrom
react:main

Conversation

@pull

@pull pull Bot commented Aug 13, 2025

Copy link
Copy Markdown

See Commits and Changes for more details.


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

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

gnoff and others added 2 commits August 12, 2025 16:46
…34192)

This fixes an edge case where you abort the render while rendering a
component that ends up Suspending. It technically only applied if you
were deep enough to be inside `renderNode` and was not susceptible to
hanging if the abort + suspending component was being tried inside
retryRenderTask/retryReplaytask.

The fix is to preempt the thenable checks in renderNode and check if the
request is aborting and if so just bubble up to the task handler.

The reason this hung before is a new task would get scheduled after we
had aborted every other task (minus the currently rendering one). This
led to a situation where the task count would not hit zero.
This did an unnecessary bind allocation even if there's cache hit.
@pull pull Bot locked and limited conversation to collaborators Aug 13, 2025
@pull pull Bot added the ⤵️ pull label Aug 13, 2025
@pull
pull Bot merged commit f1222f7 into LoadsAForks:main Aug 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants