Skip to content

Conversation

@everettbu
Copy link

Mirror of facebook/react#35517
Original author: sebmarkbage


Stacked on #35191.

Early draft.

@everettbu everettbu added CLA Signed React Core Team Opened by a member of the React Core Team labels Jan 15, 2026
This will be used to keep track of a list that need rows added to it.

It's also used as a marker on the SuspenseBoundary if the boundary is an
implicit boundary added around each row in a tail hidden/collapsed.
This will allow us to skip past a SuspenseList's rows when hydrating it
if we don't yet have all the rows satisfied.
Assuming we didn't emit comments around every row.
The complex part about this mode is that we can't release the previous row
until we have a loading state for the next row.

So we make the implicit boundary of the next row block the preceeding row.
But since that also blocks the next implicit boundary, there's a cycle
that needs special handling.
This avoids the wrapper around the implicit suspense boundaries and instead
is meant to emit a single marker at the end of the list where new items
will be inserted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants