-
Notifications
You must be signed in to change notification settings - Fork 799
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
@3.0.0-beta.4 doesn't work if React is external #364
Comments
Do you have an example repo I can look at? You'll need to make sure you |
Is happening the same error here 😐 When we put react as external script, hot loader it's getting confusing and can't reload files... We're following the same structure above. In our case, we need react as externals because webpack is bundling multiple instancies of react, and we get a reference error, so we need it as a external. It's so funny, because this just happened when we put our projects in a monorepo and set the |
@awaw00 thanks for the repo, it looks like the issue is React Router also being external, if you remove it from externals and have it in @pedronauck do you have a simple reproduce project? as I said above, React being external isn't the problem in @awaw00's project. |
@awaw00 I did some additional testing, and it looks like the issue is React Router being external specifically. I tested with other 3rd-party components (react-datepicker) being external, and they were hot replaced properly. |
Same as #53 but in v3.
The text was updated successfully, but these errors were encountered: