Skip to content

Releases: ctrlplusb/easy-peasy

v1.4.1

09 Nov 05:48
Compare
Choose a tag to compare

Patches

  • Fix UMD build: #20

Credits

Huge thanks to @wmik for helping!

v1.4.0

08 Nov 16:00
Compare
Choose a tag to compare

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

06 Nov 17:08
Compare
Choose a tag to compare

Patches

  • Changes from useLayoutEffect to useEffect: eabf23b

v1.3.0

04 Nov 21:41
Compare
Choose a tag to compare

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

02 Nov 14:08
Compare
Choose a tag to compare

Minor Changes

  • Multi distribution builds - esm, cjs, umd, umd-min: 12d9c3a

v1.1.6

01 Nov 14:13
Compare
Choose a tag to compare

Patches

  • Fixes an issue where state can be stale in effect check: 6accb78

v1.1.5

01 Nov 13:58
Compare
Choose a tag to compare

Patches

  • Fixes effect async tick issue: 21bba9b

v1.1.4

01 Nov 13:46
Compare
Choose a tag to compare

Patches

  • Ensures store subscription is eager: d93e766

v1.1.3

30 Oct 16:54
Compare
Choose a tag to compare

Patches

  • Ensures useStore effect only executed onMount and unMount: ead1fa3
  • Ensures effect actions are ticked to avoid sync updates: 6611d4c

v1.1.2

29 Oct 22:21
Compare
Choose a tag to compare

Patches

  • Support Redux DevTools Extension when using SSR: #7

Credits

Huge thanks to @m5r for helping!