Skip to content

chore: add automatic support for a DEV host consuming a PROD React remote - #997

Merged
gioboa merged 1 commit into
mainfrom
chore/mixed
Jul 31, 2026
Merged

chore: add automatic support for a DEV host consuming a PROD React remote#997
gioboa merged 1 commit into
mainfrom
chore/mixed

Conversation

@gioboa

@gioboa gioboa commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Adds automatic support for a DEV host consuming a PROD React remote. The Vite dependency optimizer safely guards React’s DEV-only dispatcher.getOwner() call when the production renderer does not provide it. Supports Rolldown and esbuild without modifying React inside node_modules.

@pkg-pr-new

pkg-pr-new Bot commented Jul 31, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@module-federation/vite@997

commit: b1670f0

@gioboa gioboa changed the title chore: guard React Mixed-Mode Federation Runtime chore: add automatic support for a DEV host consuming a PROD React remote Jul 31, 2026

@gioboa gioboa left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests With Different Frameworks

Image

@gioboa
gioboa merged commit eafb1d7 into main Jul 31, 2026
22 checks passed
@gioboa
gioboa deleted the chore/mixed branch July 31, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant