hake-redux
A promise middleware for redux, based on https://github.com/lelandrichardson/redux-pack
Install
$ npm install --save hake-redux # or $ yarn add hake-redux
Usage
// axios is a xhr lib just like fetch.// your clientconst client = axios// storeconst store =
API
The difference between redux-pack and hake-redux is :
// actions.js { return type: LOAD_FOO // redux-pack way // promise: Api.getFoo(id), // hake-redux doing. client meta: ;}
License
MIT © bang lelandrichardson