react-redux: react-redux 5.0.3 breaks hot-reloading
Description
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.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 15
- Comments: 21 (4 by maintainers)
Commits related to this issue
- downgrade react-redux to fix hot reloading https://github.com/reactjs/react-redux/issues/636 — committed to jspaine/food-bank-app by jspaine 7 years ago
- downgrade react-redux to fix hot reloading https://github.com/reactjs/react-redux/issues/636 — committed to jspaine/food-bank-app by jspaine 7 years ago
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.