-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
importing redux-devtools/lib/react breaks hot reloading #69
Comments
Note: It looks like it might be related to bundle splitting, where React is in the vendor bundle but redux-devtools and redux-devtools/lib/react are not. So not sure if this is a Webpack issue or just a result of my inexperience. Updating my vendor dependencies to include all 3 has fixed the issue; maybe somebody smarter than me could shed some light on why that fixes it? |
Maybe some naive regex catches If you put up a branch reproducing the issue I can take a look. |
Here's another weird issue: #63 |
You're exactly right, it's related to me specifying the string Not exactly sure how to get around this since, according to the Webpack documentation, to bundle React separately you're supposed to pass a string literal "react", but that could end up conflicting with any other module that happens to match that pattern (case in point this issue). But that's a discussion for elsewhere; thanks for your help! |
I was getting the same issue, but I was able to get around it by taking react-redux out of my vendor dependencies list. |
I'm closing, since it's a consumer configuration issue and not really ours. We can't fix it without making a breaking change by renaming the folder—but we don't really have to because in the next version the log monitor is extracted into a separate project, and there is no Please track the progress and give feedback in #132. |
If I import
redux-devtools/lib/react
in a project, even if it's not used, hot-reloading no longer works. It happens for all files, and I've entirely disabled the DevTool component as well as the devTool middleware, so the only reference toredux-devtools
is an unused import. I'll try to gather more information, but here's the warning from Webpack:where
198
is[198] ./~/react-redux/lib/index.js 556 bytes
. Maybe I'm just doing something weird that's causing this issue, so I'll try to isolate it to as small of an example as possible, but hot-reloading completely works until I add the import statement. Package versions are as follows:Any help is appreciated, even if you could just point me in the right direction. Thanks!
The text was updated successfully, but these errors were encountered: