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

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
3 participants