redux-make-mori
v1.0.0
Published
Coerces native Javascript types into Mori types
Downloads
3
Maintainers
Readme
redux-make-mori
Redux middleware to coerce native javascript types into the equivalent Mori types. Works with both Flux Standard Actions non-standard actions.
If an action is submitted without a type key, it will be forwarded.
Install
npm install -S redux-make-mori
Usage
import makeMori from 'redux-make-mori';
... applyMiddleware(
thunkMiddleware,
loggerMiddleware,
makeMori
);