Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: solve runtime host shared singleton race#897

Merged
gioboa merged 1 commit into
mainfrom
fix/895
Jul 10, 2026
Merged

fix: solve runtime host shared singleton race#897
gioboa merged 1 commit into
mainfrom
fix/895

Conversation

@gioboa

@gioboa gioboa commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Close #895

Fixes shared singleton races for runtime-only hosts by rechecking the shared cache after initialization and awaiting pending shared loads before exposing remote modules.

@pkg-pr-new

pkg-pr-new Bot commented Jul 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: c3a72c0

@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 561873b into main Jul 10, 2026
22 checks passed
@gioboa gioboa deleted the fix/895 branch July 10, 2026 11:37
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.

[Bug]: Shared singleton React is duplicated when a pure @module-federation/runtime host provides it to a @module-federation/vite remote

1 participant