Skip to content

Conversation

@sebmarkbage
Copy link
Collaborator

This was missed that we track the child index on the task. The equivalent in retryRenderTask already has this.

The effect is that a lazy node that suspends gets its child index reset to -1 even though it should resume in the index it left off.

This was missed that we track the child index on the task.

The equivalent in retryRenderTask already has this.
@facebook-github-bot facebook-github-bot added the React Core Team Opened by a member of the React Core Team label Oct 26, 2023
@react-sizebot
Copy link

Comparing: 97047a8...7ea07fa

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 175.09 kB 175.09 kB = 54.48 kB 54.48 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 177.21 kB 177.21 kB = 55.16 kB 55.16 kB
facebook-www/ReactDOM-prod.classic.js = 567.70 kB 567.70 kB = 99.96 kB 99.96 kB
facebook-www/ReactDOM-prod.modern.js = 551.56 kB 551.56 kB = 97.05 kB 97.05 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 7ea07fa

@acdlite acdlite merged commit 8c8ee9e into facebook:main Oct 26, 2023
github-actions bot pushed a commit that referenced this pull request Oct 26, 2023
This was missed that we track the child index on the task. The
equivalent in retryRenderTask already has this.

The effect is that a lazy node that suspends gets its child index reset
to -1 even though it should resume in the index it left off.

DiffTrain build for [8c8ee9e](8c8ee9e)
acdlite added a commit to acdlite/next.js that referenced this pull request Oct 26, 2023
kodiakhq bot pushed a commit to vercel/next.js that referenced this pull request Oct 26, 2023
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
This was missed that we track the child index on the task. The
equivalent in retryRenderTask already has this.

The effect is that a lazy node that suspends gets its child index reset
to -1 even though it should resume in the index it left off.
bigfootjon pushed a commit that referenced this pull request Apr 18, 2024
This was missed that we track the child index on the task. The
equivalent in retryRenderTask already has this.

The effect is that a lazy node that suspends gets its child index reset
to -1 even though it should resume in the index it left off.

DiffTrain build for commit 8c8ee9e.
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.

5 participants