Skip to content

Clarify that the transitionLanes used by Transition Tracing is a LaneMap #32800

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

Merged
merged 1 commit into from
Apr 1, 2025

Conversation

sebmarkbage
Copy link
Collaborator

We have a high level concept for this used elsewhere.

We should use this for transitionTypes too:

https://github.com/facebook/react/blob/main/packages/react-reconciler/src/ReactInternalTypes.js#L285

As mentioned in #32797 we could also just use the transitionLanes since the types are also on the Transition objects. If we always stored this set.

@sebmarkbage sebmarkbage requested a review from acdlite April 1, 2025 16:21
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Apr 1, 2025
@react-sizebot
Copy link

Comparing: e5dd82a...2785bf9

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 +0.11% 1.83 kB 1.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 515.56 kB 515.56 kB = 91.84 kB 91.84 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 = 616.24 kB 616.24 kB = 109.03 kB 109.03 kB
facebook-www/ReactDOM-prod.classic.js = 650.22 kB 650.13 kB = 114.92 kB 114.89 kB
facebook-www/ReactDOM-prod.modern.js = 640.50 kB 640.41 kB = 113.36 kB 113.33 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 2785bf9

@sebmarkbage sebmarkbage merged commit 450f8df into facebook:main Apr 1, 2025
243 checks passed
github-actions bot pushed a commit that referenced this pull request Apr 1, 2025
…Map (#32800)

We have a high level concept for this used elsewhere.

We should use this for `transitionTypes` too:

https://github.com/facebook/react/blob/main/packages/react-reconciler/src/ReactInternalTypes.js#L285

As mentioned in #32797 we could also just use the `transitionLanes`
since the `types` are also on the `Transition` objects. If we always
stored this set.

DiffTrain build for [450f8df](450f8df)
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