v1.3.0
Minor Changes
- Adds injections configuration to enable dependency injection for effects: e4d3d6d
- Changes 3rd param of effect to be getState, old param deprecated: 6f14844
Patches
Note
Yep, we are changing the 3rd parameter to effect. Which may seem a breaking change, however, we have ensured the old method will still work. You should consider it deprecated though and update your code accordingly.
Old:
doSomething: effect((dispatch, action, { getState }) => {
console.log(getState());
})New:
doSomething: effect((dispatch, action, getState) => {
console.log(getState());
})