Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@andy-shea andy-shea released this 29 Aug 16:15
· 4 commits to master since this release

Added

  • Helpers can now be passed to the asynchronous actions returned by calls to asyncActionCreator. Actions now have the signature asyncAction(payload, helper)

Changed

  • BREAKING: Synchronous actions returned by calls to actionCreator now accept a
    payload object instead of individual properties:
    Before: syncAction('TYPE', prop1, prop2)
    After: syncAction('TYPE', {prop1, prop2})

  • BREAKING: The store dispatch function is now included as part of the helper object mentioned above for asynchronous action thunks.