{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/react-redux/issues/636","repository_url":"https://api.github.com/repos/reactjs/react-redux","labels_url":"https://api.github.com/repos/reactjs/react-redux/issues/636/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-redux/issues/636/comments","events_url":"https://api.github.com/repos/reactjs/react-redux/issues/636/events","html_url":"https://github.com/reactjs/react-redux/issues/636","id":210666295,"number":636,"title":"react-redux 5.0.3 breaks hot-reloading","user":{"login":"BerndWessels","id":1776695,"avatar_url":"https://avatars1.githubusercontent.com/u/1776695?v=3","gravatar_id":"","url":"https://api.github.com/users/BerndWessels","html_url":"https://github.com/BerndWessels","followers_url":"https://api.github.com/users/BerndWessels/followers","following_url":"https://api.github.com/users/BerndWessels/following{/other_user}","gists_url":"https://api.github.com/users/BerndWessels/gists{/gist_id}","starred_url":"https://api.github.com/users/BerndWessels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BerndWessels/subscriptions","organizations_url":"https://api.github.com/users/BerndWessels/orgs","repos_url":"https://api.github.com/users/BerndWessels/repos","events_url":"https://api.github.com/users/BerndWessels/events{/privacy}","received_events_url":"https://api.github.com/users/BerndWessels/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-02-28T02:11:30Z","updated_at":"2017-03-22T16:02:01Z","closed_at":null,"body":"### Description\r\n\r\nAfter updating from `react-redux` `5.0.2` to `5.0.3` hot reloading breaks the redux state.\r\n\r\n### Expected behavior\r\n\r\nhot reloading should not break the redux state.\r\n\r\n### Actual behavior\r\n\r\nwith `react-redux` `5.0.3` the redux state breaks after a hot reload has happened.\r\n\r\n### Environment\r\n\r\n`react-hot-loader` `3.0.0-beta.6`\r\n\r\n### Reproducible Demo\r\n\r\nAny project with `react-hot-loader` will do, just upgrade `react-redux` to `5.0.3` and experience the issue."},"comment":{"url":"https://api.github.com/repos/reactjs/react-redux/issues/comments/288447989","html_url":"https://github.com/reactjs/react-redux/issues/636#issuecomment-288447989","issue_url":"https://api.github.com/repos/reactjs/react-redux/issues/636","id":288447989,"user":{"login":"markerikson","id":1128784,"avatar_url":"https://avatars2.githubusercontent.com/u/1128784?v=3","gravatar_id":"","url":"https://api.github.com/users/markerikson","html_url":"https://github.com/markerikson","followers_url":"https://api.github.com/users/markerikson/followers","following_url":"https://api.github.com/users/markerikson/following{/other_user}","gists_url":"https://api.github.com/users/markerikson/gists{/gist_id}","starred_url":"https://api.github.com/users/markerikson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markerikson/subscriptions","organizations_url":"https://api.github.com/users/markerikson/orgs","repos_url":"https://api.github.com/users/markerikson/repos","events_url":"https://api.github.com/users/markerikson/events{/privacy}","received_events_url":"https://api.github.com/users/markerikson/received_events","type":"User","site_admin":false},"created_at":"2017-03-22T16:02:01Z","updated_at":"2017-03-22T16:02:01Z","body":"Hmm. I've got a lot on my plate atm, but I will try to dig into this at some point in the near future.\r\n\r\nAs an alternative, you may want to consider using the \"plain\" HMR API, rather than `react-hot-loader`.  Not _quite_ as nice because you'd generally be swapping the entire component tree from the root and thus lose component state, but you'd still get the benefits of keeping what's in Redux state when the component tree is reloaded.  I have an example of setting up component tree reloading in my post [Practical Redux, Part 3: Project Planning and Setup](http://blog.isquaredsoftware.com/2016/11/practical-redux-part-3-project-planning-and-setup/)."}}
{"actor":{"display_login":"markerikson"}}