redux-xstate
redux-xstate copied to clipboard
Redux middleware for xstate
Bug
I tried using your middleware solution on a more complex example and I found a bug in the getActions fn ```javascript function getActions(states) { return Object.keys(states) .map(key => { const...
for #4 depends on https://github.com/carlbarrdahl/redux-xstate/pull/3
Currently I'm not sure "State metadata" can fix that for redux. noMiddleware solution: [xstate-redux](https://github.com/kgoggin/xstate-redux/blob/master/src/reducerEnhancer.js) xstate discussion: [State metadata](https://github.com/davidkpiano/xstate/issues/45) xstate example [save state machine in react state](http://davidkpiano.github.io/xstate/docs/#/examples/gallery) In my mind "xstate...
In my mind we need one machine for one Smart Component. I'm not happy with the API but thats my first idea... perhaps you have a alternative