-
-
Notifications
You must be signed in to change notification settings - Fork 371
feat(nextjs-mf): RSC Support #3736
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
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 5a946c4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 36 packages
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 |
✅ Deploy Preview for module-federation-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
25626cf
to
2ee38ff
Compare
94b858a
to
4bd1354
Compare
806abf2
to
217ba68
Compare
This stack of pull requests is managed by Graphite. Learn more about stacking. |
1fbe79b
to
93507be
Compare
e90cbb9
to
d47ebc1
Compare
93507be
to
3d6dd83
Compare
d47ebc1
to
eac5e94
Compare
3d6dd83
to
60d6549
Compare
c476e89
to
58442a7
Compare
60d6549
to
055deac
Compare
INCREMENTAL_PR_PLAN_REVISED.md
Outdated
@@ -0,0 +1,303 @@ | |||
# Revised Incremental PR Plan for packages/enhanced Changes | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this file
packages/sdk/.swcrc
Outdated
"type": "es6" | ||
}, | ||
"sourceMaps": true, | ||
"inputSourceMap": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert
"inputSourceMap": false, | |
"inputSourceMap": true, |
packages/sdk/rollup.config.cjs
Outdated
if (Array.isArray(rollupConfig.output)) { | ||
rollupConfig.output = rollupConfig.output.map((c) => ({ | ||
...c, | ||
sourcemap: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert
sourcemap: true, | |
packages/sdk/rollup.config.cjs
Outdated
} else { | ||
rollupConfig.output = { | ||
...rollupConfig.output, | ||
sourcemap: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert this
… 19.1.1 in all Next apps
- Map next/dist/compiled/react(*/)** to react(*/)** - Map next/dist/compiled/react-dom(*/)** to react-dom(*/)** - Add react/ and react-dom/ prefix shares to keep dev overlay on React 19 - Prevent React 18/19 mismatch causing useReducer null dispatcher crash in pages router dev overlay
- Disable DTS in modern.lib.config - Include types: chrome, react, react-dom; add skipLibCheck
- Map next/dist/compiled react* to installed react* - Add react*/ prefixes for overlay stability
Replace @nx/next executors with nx:run-commands in Next.js apps. Add NEXT_PRIVATE_LOCAL_WEBPACK=true to all commands. Remove @nx/next dependencies and withNx wrapper from configs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Committed via Codex CLI on 2025-10-01
This pull request introduces significant improvements to the Next.js App Router demo applications, enhances Module Federation integration, updates dependencies, and adds new CI/CD workflows and E2E test coverage. It also introduces a new React Module Federation host example and makes various configuration and workflow optimizations across the repository.
Next.js App Router and Module Federation Improvements:
4000
and4001
) to prepare for better React Server Components (RSC) support and upgraded dependencies to React 19 and Next.js 15.3.3. Improved configuration, dependency management, and build scripts for these demos. [1] [2]e2e-next-app-router.yml
) to automate these tests. [1] [2] [3] [4]Dependency and Demo Application Updates:
3000-home
,3001-shop
,3002-checkout
) to use React 19 and Next.js 15.3.3. Improved build and development scripts across all Next.js applications. [1] [2] [3] [4]CI/CD and Workflow Enhancements:
New Example Application:
apps/module-federation-react-example/host
, including configuration files, a basic React app, and dynamic loading of remote components. [1] [2] [3] [4] [5] [6]Configuration and Miscellaneous Updates:
.cursorignore
to includedist/
directories in version control..cursor/mcp.json
and.cursorrules
files. [1] [2]Let me know if you want to dive deeper into any specific area or need help understanding how these changes affect your workflow!