Skip to content

Big Overhaul πŸ—

Compare
Choose a tag to compare
@Qata Qata released this 22 Jul 07:29
· 31 commits to master since this release

Bugfixes:

  • Previously BaseStore was able to have actions dispatched to it before subscriptions were ready to accept them (notably when using a static property to house it). This has been fixed.

Breaking API Changes:

  • Middleware can now dispatch raw actions, requiring it to be parameterised by three types.
  • ActionStrata has been leveraged to contain arrays of raw and refined actions, allowing for more complex behaviour in both Thunk and Middleware.

API Additions:

  • ActionStrata has been expanded with convenience initialisers for variadic creation.
  • ActionStrata has been expanded with convenience getters for the underlying values.
  • dispatch functions that accept raw actions or ActionStrata are now able to be run serially using the serially parameter, allowing for deterministic behaviour in certain circumstances.