Store metadata release
New features
Store metadata. Now it is possible to provide some static data to store, which will be available both for actions and middleware. It can be used to provide API url/token to store, set some flags for dev/prod builds or handle some internal settings. Read more about it here.
Breaking API Changes
New middleware API. actionKey
parameter moved to new meta
object
Before:
const middleware: Middleware = (next, actionKey, args) => {
...
next(args)
}
Now:
const middleware: Middleware = (next, args, meta) => {
...
next(args)
}