Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make RefStatic and LayoutStatic the same bit #31965

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

sebmarkbage
Copy link
Collaborator

Refs are basically just fancy Layout Effects. These are conceptually the same thing and are always visited together so they don't need to be different flags.

Whenever we disappear/reappear Offscreen content we need to do both Refs and Layout Effects.

This is just indicating which phase needs to be visited and these are always the same phase.

These are conceptually the same thing and are always visited together so
they don't need to be different flags.
Copy link

vercel bot commented Jan 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ❌ Failed (Inspect) Jan 2, 2025 9:48pm

@facebook-github-bot facebook-github-bot added the React Core Team Opened by a member of the React Core Team label Jan 2, 2025
@react-sizebot
Copy link

Comparing: dc75782...a595e8a

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 = 512.42 kB 512.42 kB = 91.59 kB 91.59 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 517.20 kB 517.20 kB = 92.45 kB 92.44 kB
facebook-www/ReactDOM-prod.classic.js = 594.22 kB 594.22 kB = 104.67 kB 104.67 kB
facebook-www/ReactDOM-prod.modern.js = 584.49 kB 584.49 kB = 103.13 kB 103.12 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against a99e4e6

@sebmarkbage sebmarkbage merged commit 3b009b4 into facebook:main Jan 3, 2025
186 of 187 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 3, 2025
Refs are basically just fancy Layout Effects. These are conceptually the
same thing and are always visited together so they don't need to be
different flags.

Whenever we disappear/reappear Offscreen content we need to do both Refs
and Layout Effects.

This is just indicating which phase needs to be visited and these are
always the same phase.

DiffTrain build for [3b009b4](3b009b4)
github-actions bot pushed a commit that referenced this pull request Jan 3, 2025
Refs are basically just fancy Layout Effects. These are conceptually the
same thing and are always visited together so they don't need to be
different flags.

Whenever we disappear/reappear Offscreen content we need to do both Refs
and Layout Effects.

This is just indicating which phase needs to be visited and these are
always the same phase.

DiffTrain build for [3b009b4](3b009b4)
github-actions bot pushed a commit to code/lib-react that referenced this pull request Jan 3, 2025
Refs are basically just fancy Layout Effects. These are conceptually the
same thing and are always visited together so they don't need to be
different flags.

Whenever we disappear/reappear Offscreen content we need to do both Refs
and Layout Effects.

This is just indicating which phase needs to be visited and these are
always the same phase.

DiffTrain build for [3b009b4](facebook@3b009b4)
github-actions bot pushed a commit to code/lib-react that referenced this pull request Jan 3, 2025
Refs are basically just fancy Layout Effects. These are conceptually the
same thing and are always visited together so they don't need to be
different flags.

Whenever we disappear/reappear Offscreen content we need to do both Refs
and Layout Effects.

This is just indicating which phase needs to be visited and these are
always the same phase.

DiffTrain build for [3b009b4](facebook@3b009b4)
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