Module reactive_state::middleware[][src]

Expand description

Middleware used to modify the behaviour of a Store during a Store::dispatch(). This module also contains some simple middleware implementations which can be used as utilities in an application.

Modules

simple_loggersimple_logger

Logging Middleware which uses the log macros to publish actions/events that occur within the Store.

web_loggerweb_logger

Logging Middleware for applications running in the browser using wasm-bindgen. Publishes actions/events that occur within the Store.

Structs

ReduceMiddlewareResult

Traits

Middleware

Middleware used to modify the behaviour of a Store during a Store::dispatch().

Type Definitions

NotifyFn

Executes subsequent middleware and then notifies the listeners.

ReduceFn

Executes subsequent middleware and then runs the Reducer.