react-redux 5.0.3 breaks hot-reloading
See original GitHub issueDescription
After updating from react-redux
5.0.2
to 5.0.3
hot reloading breaks the redux state.
Expected behavior
hot reloading should not break the redux state.
Actual behavior
with react-redux
5.0.3
the redux state breaks after a hot reload has happened.
Environment
react-hot-loader
3.0.0-beta.6
Reproducible Demo
Any project with react-hot-loader
will do, just upgrade react-redux
to 5.0.3
and experience the issue.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:15
- Comments:21 (4 by maintainers)
Top Results From Across the Web
Hot Reload is not working in my React App - Stack Overflow
To solve the problem in hot reloading/fast_refresh I simply add CHOKIDAR_USEPOLLING=true in package.json:
Read more >Hot Module Replacement in Redux - Toptal
Hot reloading can be accomplished by following the instructions found on that github: https://github.com/gaearon/react-hot-loader. Shaojiang Cai. Thanks. Yes, ...
Read more >react-redux: Versions - Openbase
Full version history for react-redux including change logs. ... Persist child listeners through hot reload (#715 by @dsgkirkby) ... 5.0.3. 6 years ago....
Read more >Fearless startup of a React-Redux project - Altereos
Hot reloading ; Test suites; Packages specific to a project. Looks much clearer than a bloated package.json, right? It's the first step. Now ......
Read more >uncaught typeerror: cannot read properties of undefined (reading ...
My react app is using cognito, as soon as i add react-redux provider globally for storybook, and run yarn storybook it keeps loading...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m also having the same problem, with both 5.0.2 and 5.0.3.
Edit: Going back to 4.4.6 fixed this for me.
I had to update to
react-hot-loader@4.0.0-rc.0
(yarn add react-hot-loader@next
) to make hot reloading components work withreact-redux@5.0.6
.