Added
- Helpers can now be passed to the asynchronous actions returned by calls to
asyncActionCreator
. Actions now have the signatureasyncAction(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 thehelper
object mentioned above for asynchronous action thunks.