Axios middleware for Redux.
npm install axiosware
import axiosware from 'axiosware';
TODO
TODO
npm install axiosware
Then, to enable the Axios middleware, use
applyMiddleware()
:
import { createStore, applyMiddleware } from 'redux';
import axiosware from 'axiosware';
import rootReducer from './reducers/index';
const store = createStore(rootReducer, applyMiddleware(axiosware));
MIT