luandro / hapi-universal-redux

DEPRECATED: Create an universal React and Redux app in less than 5 minutes!
https://hapi-universal-redux.herokuapp.com/
BSD 3-Clause "New" or "Revised" License
214 stars 24 forks source link

HMR stateless components not working #87

Closed luandro closed 8 years ago

luandro commented 8 years ago

HMR doesn't work with stateless components. Check out here 85 and 57 for the discussion.

gaearon commented 8 years ago

You might be interested in https://github.com/reactjs/redux/pull/1455.

gaearon commented 8 years ago

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

luandro commented 8 years ago

Thanks @gaearon for the awesome work with React Hot Loader 3.

Moved discussion to #99.