este icon indicating copy to clipboard operation
este copied to clipboard

Hot reload actions

Open XeeD opened this issue 11 years ago • 9 comments

Actions should be hot reloadable too. We need a cross platform solution.

XeeD avatar Sep 23 '15 12:09 XeeD

Yep, see how Redux did the same for reducers.

grabbou avatar Sep 23 '15 12:09 grabbou

As Dan pointed out in the redux issue this should already work since they should be reloaded together with the components that dispatch them or the reducers that listen to them. What am I missing?

ronag avatar Sep 23 '15 13:09 ronag

No, it's regression. https://github.com/gaearon/babel-plugin-react-transform/issues/26

steida avatar Sep 23 '15 14:09 steida

So should we switch back to react-hot-loader?

ronag avatar Sep 23 '15 16:09 ronag

I think browser reload is good enough until Dan will fix it.

steida avatar Sep 23 '15 22:09 steida

https://github.com/este/este/issues/520

steida avatar Oct 13 '15 03:10 steida

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

gaearon avatar Feb 29 '16 04:02 gaearon

Thank you Dan!

steida avatar Feb 29 '16 15:02 steida

This is fixed in React Hot Loader 3. It is built with lessons learned from both React Hot Loader and React Transform. It’s still in alpha but I encourage you to check it out!

gaearon avatar Apr 18 '16 14:04 gaearon