jumpstate icon indicating copy to clipboard operation
jumpstate copied to clipboard

Feature: allow namespace/sandbox for effects

Open bsubedi26 opened this issue 8 years ago • 2 comments

Fixes this issue (https://github.com/jumpsuit/jumpstate/issues/33).

Currently, when a reducer is sandboxed/namespaced, a property is created on the Actions object to reference the reducers actions, for example:

Actions.mySandbox.increment()

However, the effects registered for the reducer are not within the mySandbox namespace and are instead within the global space, for example:

Actions.asyncEffectFromMySandbox()

This attempts to fix this by also sandboxing all of its respective effects when the reducers are sandboxed/namespaced. So instead of above, it will be:

Actions.mySandbox.asyncEffect()

bsubedi26 avatar Nov 23 '17 18:11 bsubedi26

Is this repository no longer maintained? Would be great if this feature were merged into the master

mickeyambrosius avatar Aug 17 '18 09:08 mickeyambrosius

@NomadicBits I don't think this repository is maintained. If you need something similar, this is a good alternative - https://github.com/rematch/rematch

bsubedi26 avatar Aug 19 '18 16:08 bsubedi26