Releases: redux-utilities/redux-actions
Releases · redux-utilities/redux-actions
v0.10.0
Fixes
createAction
should adhere to doc contract regarding errors (79c6863) - @spartan563- Use
flux-standard-action
dependency for test only (80f6dfb) - @albertogasparin - Make
payload
optional (as per FSA spec) (588692d) - @jmortlock
New features & enhancements
- Add support for default or initial state to
handleAction
(626bf59) - @seniorquico - Use action function as handleAction(s) type param (d1aa7d6) - @nikita-graf
General
Symbol action types
Adds support for symbol action types. (Not necessarily recommended, since they're not serializable.)
Support meta field
Adds a third parameter to createAction()
that creates a meta object. It receives the same arguments payload creator, but its result becomes the meta
field of the resulting action.
createAction(TYPE, payloadCreator, metaCreator);
If metaCreator
is undefined or not a function, the meta field is omitted.
Thanks @johanneslumpe for working on this