1.0.2 • Published 3 years ago

@link-intersystems/redux-middlewares v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Redux Middlewares Library

GitHub Workflow Status Coverage Status GitHub issues GitHub

A collection of middlewares for Redux.

State Change Middleware

The state change middleware allows you to execute reducers as an effect of a state change. It introduces a kind of state listener concept to the Redux store that can be configured with a domain specific language.

stateChangeMiddleware
  .whenStateChanges((state) => state.counter)
  .thenDispatch({ type: "text", payload: "changed" });

Go to the state change middleware documentation for details.