Skip to content

Conversation

sebmarkbage
Copy link
Collaborator

I think this was probably just copy-paste from the Suspense path.

It shouldn't matter what the previous state of an Offscreen boundary was. What matters is that it's now hidden and therefore if it suspends, we can just leave it as is without the tree becoming inconsistent.

@sebmarkbage sebmarkbage requested a review from acdlite April 10, 2025 05:23
@sebmarkbage sebmarkbage changed the title Set hidden Offscreen to the shellBoundary even for regardless of previous state Set hidden Offscreen to the shellBoundary regardless of previous state Apr 10, 2025
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Apr 10, 2025
@react-sizebot
Copy link

Comparing: c44e4a2...e7303e1

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.js = 6.68 kB 6.68 kB = 1.83 kB 1.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 517.64 kB 517.50 kB = 92.08 kB 92.06 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB +0.05% 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 622.45 kB 622.30 kB = 110.15 kB 110.13 kB
facebook-www/ReactDOM-prod.classic.js = 655.67 kB 655.53 kB = 115.72 kB 115.70 kB
facebook-www/ReactDOM-prod.modern.js = 645.95 kB 645.81 kB = 114.17 kB 114.15 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against e7303e1

@sebmarkbage sebmarkbage merged commit 3fbd6b7 into facebook:main Apr 22, 2025
243 checks passed
github-actions bot pushed a commit that referenced this pull request Apr 22, 2025
#32844)

I think this was probably just copy-paste from the Suspense path.

It shouldn't matter what the previous state of an Offscreen boundary
was. What matters is that it's now hidden and therefore if it suspends,
we can just leave it as is without the tree becoming inconsistent.

DiffTrain build for [3fbd6b7](3fbd6b7)
github-actions bot pushed a commit that referenced this pull request Apr 22, 2025
#32844)

I think this was probably just copy-paste from the Suspense path.

It shouldn't matter what the previous state of an Offscreen boundary
was. What matters is that it's now hidden and therefore if it suspends,
we can just leave it as is without the tree becoming inconsistent.

DiffTrain build for [3fbd6b7](3fbd6b7)
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.

4 participants