Skip to content

Conversation

@dryor
Copy link

@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

changeset-bot bot commented Dec 13, 2025

🦋 Changeset detected

Latest commit: 41116a8

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

This PR includes changesets to release 37 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 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/metro Patch
@module-federation/metro-plugin-rnef Patch
@module-federation/metro-plugin-rnc-cli Patch
@module-federation/nextjs-mf Patch
@module-federation/node Patch
@module-federation/storybook-addon Patch
@module-federation/modernjsapp Patch
@module-federation/esbuild Patch
@module-federation/utilities Patch
remote5 Patch
remote6 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

netlify bot commented Dec 13, 2025

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 41116a8
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/693cd43e6d13d40008d833c4
😎 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.

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.

1 participant