andyrj / hyperapp-redux-devtools

hyperapp HOA to utilize redux-devtools-extension from hyperapp
MIT License
36 stars 5 forks source link

fix for time traveling #4

Closed yhirose closed 6 years ago

yhirose commented 6 years ago

I appreciate the useful tool. It helps me a lot when debugging in hyperapp. When I tried the time traveling feature on the Redux DevTools, it didn't update the app state. This PR fixes the problem.

andyrj commented 6 years ago

I found out yesterday that I had an error in this same section of code, it has to support both, args => { return newState }; and args => (state, actions) => { return newState };

andyrj commented 6 years ago

This all looks good, thanks for the bug fix!