jumpstate icon indicating copy to clipboard operation
jumpstate copied to clipboard

how to you resolve multiple composed states with the same methods?

Open bingomanatee opened this issue 7 years ago • 1 comments

I.e., if you have State('foo' {increment: ...}), State('bar', {increment...}) and you call Action.increment() which one happens?

bingomanatee avatar Jul 14 '17 00:07 bingomanatee

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 .

tannerlinsley avatar Jul 14 '17 01:07 tannerlinsley