redux-axios-middleware
redux-axios-middleware copied to clipboard
Redux middleware for fetching data with axios HTTP client
```js const middlewareConfig = { interceptors: { request: [ { success: function ({getState, dispatch, getSourceAction}, req) { console.error(1, req); }, error: function ({getState, dispatch, getSourceAction}, error) { console.error(2, error); }...
Hey there are 6 pull requests and 19 open issues that have never had responses from the author. Is there no planned support for this repo?
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.2 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Bumps [tar](https://github.com/npm/node-tar) from 2.2.1 to 2.2.2. Commits 523c5c7 2.2.2 7ecef07 Bump fstream to fix hardlink overwriting vulnerability 9fc84b9 Use {} for hardlink tracking instead of [] 15e59f1 Only track previously...
hello, i noticed the response i can use in redux is different from the one i get in the interceptors. The error object on the interceptor has all the properties...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.2 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Bumps [axios](https://github.com/axios/axios) from 0.13.1 to 0.21.1. Release notes Sourced from axios's releases. v0.21.1 0.21.1 (December 21, 2020) Fixes and Functionality: Hotfix: Prevent SSRF (#3410) Protocol not parsed when setting proxy...
Bumps [ini](https://github.com/isaacs/ini) from 1.3.4 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...
How can I get typed action in component? When I try call `.then()` for action I get TS error **Property 'then' does not exist on type** but code worked.
I have setup redux with this middleware but I would like to set the 'url' for the client, and change it with Async storage, as the user enters their server...