Middleware

Using middleware in Aurelia Store to make changes to actions

Middleware act as an intermediary step in your application to allow you to modify data in your store actions, before and after they have run. Think of middleware as a way to change data after an action has fired.

The Aurelia Store plugin comes with a couple of middleware out of the box for you to use, but you can easily create your own.

Last updated

Was this helpful?

Revision created

refactor(event): no longer call prevent default by default (#1926) BREAKING CHANGE: no longer calling preventDefault on all events, this can be switched back to v1 behavior via IListenerBindingOptions [skip ci] * BREAKING CHANGE: no longer reexport fetch plugin from aurelia package * fix(router-lite): dont register config * chore: cleanup unused methods, correct typings on test fixture