Skip to content

Conversation

devongovett
Copy link
Member

Fixes #8885, fixes #8865

With suspense, React can create elements without setting their props, leading to elements that don't have collection nodes yet. These were tracked in dirtyNodes, which was cleared at the end of each collection update. However, since these elements don't have nodes, they actually should still be dirty because we haven't added them to the collection yet. This way, on the next render they will be updated.

@rspbot
Copy link

rspbot commented Sep 19, 2025

@devongovett devongovett added this pull request to the merge queue Sep 22, 2025
Merged via the queue into main with commit 60e8535 Sep 22, 2025
32 checks passed
@devongovett devongovett deleted the suspense-collection-fix branch September 22, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Delay in rendering sub-collections with Suspense RAC Table is not rendered on client navigation in React Router
4 participants