-
Notifications
You must be signed in to change notification settings - Fork 25
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
react refresh runtime was loaded twice when trying to use @module-federation/bridge-react #164
Comments
Hi, thanks for the feedback, can you create a basic example to clone please? In this way we will tackle the problem easily |
uploaded the repo to dynamic-module-federation |
I'm looking at this issue and I have a different error though. I'm looking for a webpack bridge-react project to clone 👀 and migrate to Vite. |
what error are you getting? |
I pushed a change to my repo in which I use |
hi. I'm currently trying to build a vite host + remote with this plugin and @module-federation/bridge-react, so I can load a react 17 remote component into a react 18 host.
unfortunately I get the following error:
the vite.config of the remote is:
and the one of the host is:
the way I expose and consume the component is via @module-federation/bridge-react, and it looks like the following:
expose (at remote):
consume (at host):
any idea if I'm doing something wrong or if this plugin does not yet supports what I'm trying to achieve?
The text was updated successfully, but these errors were encountered: