Hot reload?
LeoIannacone opened this issue · 3 comments
LeoIannacone commented
Hi, according with docs:
http://alt.js.org/docs/hot-reload/
I should use this makeHot
utils which actually does not exists.
I tried without nothing, but all the stores lose the their states. How can avoid this and be sure that the stores will maintain their states while react reloads?
diessica commented
LeoIannacone commented
Looks like does not work as expected. I'm using now makeHot, but the stores got a reset on rebuilding.
Should I import them before the wrap ?
LeoIannacone commented
I'm actually works, but not when I call store.getState()
in a render function (in that case the store state is empty)