Closed luandro closed 8 years ago
You might be interested in https://github.com/reactjs/redux/pull/1455.
React Hot Loader 3 supports functional components without destroying the state. It supersedes both React Hot Loader and React Transform, and is built on lessons learned from both. Check it out: https://github.com/gaearon/react-hot-boilerplate/pull/61
Thanks @gaearon for the awesome work with React Hot Loader 3.
Moved discussion to #99.
HMR doesn't work with stateless components. Check out here 85 and 57 for the discussion.