Skip to content

v2.4.0

Compare
Choose a tag to compare
@akuzko akuzko released this 05 Sep 20:42
· 11 commits to master since this release

Release Description

  • Added actionReducer mixin that allows to define actions with "local" reducer function and success/failure helpers. This reducer functions keep name of the action they are referenced to and generate corresponding descriptors for convenient logging and development.
  • Added alternative way of specifying reducer descriptor when using logger mixin: first argument can be name, followed by reducer function, and the rest of dependencies can be specified as third argument. This way is more consistent with actionReducer mixin API, and it also looks more familiar compared to React's hook dependencies.