jumpstate
jumpstate copied to clipboard
how to you resolve multiple composed states with the same methods?
I.e., if you have State('foo' {increment: ...}), State('bar', {increment...}) and you call Action.increment() which one happens?
Both happen just as things would in multi redux reducers. Each state can respond in its own way to the action :) On Thu, Jul 13, 2017 at 6:08 PM Dave Edelhart [email protected] wrote:
I.e., if you have State('foo' {increment: ...}), State('bar', {increment...}) and you call Action.increment() which one happens?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jumpsuit/jumpstate/issues/42, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUmCTpJSHUjNxKZx3jiy7I-a6Ycrh3tks5sNrF4gaJpZM4OXry0 .