Skip to content
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.” should this error be reverted. #234

Closed
Alfxjx opened this issue Oct 9, 2024 · 0 comments
Closed

Comments

@Alfxjx
Copy link

Alfxjx commented Oct 9, 2024

Hello, I'm using vite react and this plugin in a micro-frontend app,the sub apps are all vite+react-swc, and i'm facing this error:

React refresh runtime was loaded twice. Maybe you forgot the base path?

searching the issues & discussion in both this repo and vite-plugin-react,found that in vite-plugin-react @ 4.0.3 reverts this fix, so I wonder if this fix should be sync to this repo.

related discussions:

vitejs/vite-plugin-react#185

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

No branches or pull requests

1 participant