Big Overhaul π
Bugfixes:
- Previously
BaseStorewas 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:
Middlewarecan now dispatch raw actions, requiring it to be parameterised by three types.ActionStratahas been leveraged to contain arrays of raw and refined actions, allowing for more complex behaviour in bothThunkandMiddleware.
API Additions:
ActionStratahas been expanded with convenience initialisers for variadic creation.ActionStratahas been expanded with convenience getters for the underlying values.dispatchfunctions that accept raw actions orActionStrataare now able to be run serially using theseriallyparameter, allowing for deterministic behaviour in certain circumstances.