Skip to content

Stringify context as SomeContext instead of SomeContext.Provider #33507

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
Jun 11, 2025

Conversation

kassens
Copy link
Member

@kassens kassens commented Jun 11, 2025

This matches the change in React 19 to use <SomeContext> as the preferred way to provide a context.

@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Jun 11, 2025
@react-sizebot
Copy link

react-sizebot commented Jun 11, 2025

Comparing: 6c86e56...6b2cd1d

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 = 530.49 kB 530.47 kB = 93.64 kB 93.64 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 = 651.58 kB 651.56 kB = 114.75 kB 114.75 kB
facebook-www/ReactDOM-prod.classic.js = 675.01 kB 674.98 kB = 118.81 kB 118.81 kB
facebook-www/ReactDOM-prod.modern.js = 665.48 kB 665.46 kB = 117.23 kB 117.23 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 6b2cd1d

This matches the change in React 19 to use `<SomeContext>` as the preferred way to provide a context.
@kassens kassens merged commit b7e2de6 into facebook:main Jun 11, 2025
241 of 268 checks passed
@kassens kassens deleted the pr33507 branch June 11, 2025 16:08
github-actions bot pushed a commit that referenced this pull request Jun 11, 2025
)

This matches the change in React 19 to use `<SomeContext>` as the
preferred way to provide a context.

DiffTrain build for [b7e2de6](b7e2de6)
github-actions bot pushed a commit that referenced this pull request Jun 11, 2025
)

This matches the change in React 19 to use `<SomeContext>` as the
preferred way to provide a context.

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