Releases: ctrlplusb/easy-peasy
Releases · ctrlplusb/easy-peasy
v1.4.1
Patches
Credits
Huge thanks to @wmik for helping!
v1.4.0
Minor Changes
- Allow for custom compose function: #15
Patches
- Fixes devTools typo in README: #14
- Replaces Symbol with standard strings: 9a4e74d
- Add expanded 'Usage with React Native' section to readme: #18
Credits
Huge thanks to @christianchown for helping!
v1.3.2
Patches
- Changes from useLayoutEffect to useEffect: eabf23b
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());
})
v1.2.0
Minor Changes
- Multi distribution builds - esm, cjs, umd, umd-min: 12d9c3a
v1.1.6
Patches
- Fixes an issue where state can be stale in effect check: 6accb78
v1.1.5
Patches
- Fixes effect async tick issue: 21bba9b
v1.1.4
Patches
- Ensures store subscription is eager: d93e766
v1.1.3
Patches
- Ensures useStore effect only executed onMount and unMount: ead1fa3
- Ensures effect actions are ticked to avoid sync updates: 6611d4c
v1.1.2
Patches
- Support Redux DevTools Extension when using SSR: #7
Credits
Huge thanks to @m5r for helping!