redux-axios-middleware
redux-axios-middleware copied to clipboard
Redux middleware for fetching data with axios HTTP client
I am trying to have callbacks, but it's not working in the object: ```javascript type: ORDER_SUBMIT, onSuccess({ getState, dispatch}){}, payload: { request: { method: 'put', url: `/tickets/${orderData.orderTicketCode}`, data: {} },...
The recent axios version introduced a new feature which filters custom filters in request configuration [similar issue](https://github.com/axios/axios/issues/2203). This in turn will make getSourceAction(request.config) not possible anymore.
Hi, I have a problem with ` redux-axios-middleware` - I have a request and response with the status code of 403, Interceptors not working but it work with status code:...
My code works with axiosMiddleware, but after I switched over to multiclent, everything went wrong. It keep on giving me > Cannot read property 'request' of undefined It seems like...
Is there any type of definition for the promise returned? for example ``` componentDidMount() { this.props.loadCategories().then(res => { // what is the type of res }) } ``` I wanna...
Anyone encountered this problem while trying to connect redux, axios and redux-axios-middleware in ReactNative app? For some reason I keep getting this error, it seems like something is wrong with...
Is it possible to read default options of middleware? because I need to write my own middleware config to have my onSuccess onError and I will use customized onSuccess /OnError...
I am following the same pattern used in the [middleware-netcore-example](https://github.com/Odonno/react-redux-axios-middleware-netcore-example). I see _FAIL constants in the app.ts actions file. I am attempting to send failures into state, but I am...