redux-custom-middlewares
middlewares inside your FSA actions
Motivations
redux-custom-middlewares
allow you to dispatch middlewares inside your FSA actions.
it's like super thunk !
Goals
- dispatch plain object actions which handle side effects
- have a contextual use of middlewares
- create redux modules
Installation
npm install --save redux-custom-middlewares
;;;const initialState = {}; const store =
Usage
; // this custom middleware just console.log the current actionconst withLoggerMiddleware = ; const myActionCreator = ;
Contributing
If you like this module, you're welcome for contributing, take a look at CONTRIBUTING.md