jumpstate icon indicating copy to clipboard operation
jumpstate copied to clipboard

Hot module replacement not work

Open timoxley opened this issue 7 years ago • 2 comments

It appears HMR can not work with jumpstate due to complaints like: An action called "${actionName}" in the ${sandboxName} sandbox already exists! Please pick another action name!

or, in other words: global state bad.

timoxley avatar Apr 20 '17 08:04 timoxley

if you are only concerned about changing the reducers aka actionName. you can use the reset method inside actions file before you load your new reducers.

desktoping avatar Apr 21 '17 06:04 desktoping

I can't make HMR to work. Using React-hot-loader-3 (beta). Tried basiacally every possible configuration.

Could you provide an example of jumpstate working with HMR?

@timoxley Have you solved this issue somehow?

Thanks!

matuscongrady avatar Aug 22 '17 14:08 matuscongrady