Skip to content

feat(create-module-federation): update React to 19.2.3#4260

Merged
zhoushaw merged 6 commits intomodule-federation:mainfrom
dryor:feat/update-react-19
Mar 9, 2026
Merged

feat(create-module-federation): update React to 19.2.3#4260
zhoushaw merged 6 commits intomodule-federation:mainfrom
dryor:feat/update-react-19

Conversation

@dryor
Copy link
Copy Markdown
Contributor

@dryor dryor commented Dec 13, 2025

Summary

Updates React and React DOM dependencies in the rsbuild-common template from 18.3.1 to 19.2.3.

Motivation

Currently, when running pnpm create-module-federation, the generated project uses React 18.3.1, requiring manual updates to React 19.2.3 every time. This PR updates the template to use the latest stable React version by default.

Changes

  • Updated react from ^18.3.1 to ^19.2.3
  • Updated react-dom from ^18.3.1 to ^19.2.3
  • Updated @types/react from ^18.3.11 to ^19.0.0
  • Updated @types/react-dom from ~18.3.1 to ^19.0.0

Testing

  • Tested template generation with pnpm create-module-federation
  • Verified the generated project runs correctly
  • All existing tests pass

Fixes the need for manual React dependency updates on every project creation.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Dec 13, 2025

🦋 Changeset detected

Latest commit: d2af84d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 43 packages
Name Type
create-module-federation Patch
@module-federation/runtime Patch
@module-federation/enhanced Patch
@module-federation/rspack Patch
@module-federation/webpack-bundler-runtime Patch
@module-federation/sdk Patch
@module-federation/runtime-tools Patch
@module-federation/managers Patch
@module-federation/manifest Patch
@module-federation/dts-plugin Patch
@module-federation/third-party-dts-extractor Patch
@module-federation/devtools Patch
@module-federation/bridge-react Patch
@module-federation/bridge-vue3 Patch
@module-federation/bridge-shared Patch
@module-federation/bridge-react-webpack-plugin Patch
@module-federation/modern-js-v3 Patch
@module-federation/retry-plugin Patch
@module-federation/data-prefetch Patch
@module-federation/rsbuild-plugin Patch
@module-federation/error-codes Patch
@module-federation/inject-external-runtime-core-plugin Patch
@module-federation/runtime-core Patch
@module-federation/cli Patch
@module-federation/rspress-plugin Patch
@module-federation/treeshake-server Patch
@module-federation/treeshake-frontend Patch
@module-federation/metro Patch
@module-federation/metro-plugin-rnef Patch
@module-federation/metro-plugin-rnc-cli Patch
@module-federation/modern-js Patch
@module-federation/nextjs-mf Patch
@module-federation/node Patch
@module-federation/storybook-addon Patch
shared-tree-shaking-no-server-host Patch
shared-tree-shaking-no-server-provider Patch
@module-federation/esbuild Patch
@module-federation/utilities Patch
remote5 Patch
remote6 Patch
shared-tree-shaking-with-server-host Patch
shared-tree-shaking-with-server-provider Patch
website-new Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link
Copy Markdown

netlify bot commented Dec 13, 2025

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit d2af84d
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/69ae23a0d061d50008124eba
😎 Deploy Preview https://deploy-preview-4260--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dryor
Copy link
Copy Markdown
Contributor Author

dryor commented Feb 6, 2026

@ScriptedAlchemy can you review this pr, please 🙏🏻?

@zhoushaw zhoushaw merged commit 5fe1ceb into module-federation:main Mar 9, 2026
8 of 9 checks passed
@2heal1 2heal1 mentioned this pull request Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants