axios-hooks icon indicating copy to clipboard operation
axios-hooks copied to clipboard

🦆 React hooks for axios

Results 20 axios-hooks issues
Sort by recently updated
recently updated
newest added

### Pending commits since release [v3.1.4](https://github.com/simoneb/axios-hooks/releases/tag/v3.1.4) Unreleased commits have been found which are pending release, please publish the changes. * [a849140](https://github.com/simoneb/axios-hooks/commit/a84914023b6f72124f82783a26a4e15cb0ec5e67) chore(deps-dev): bump @types/node from 18.6.4 to 18.6.5 (#1004) *...

notify-release

Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 6.0.0 to 7.13.2. Changelog Sourced from lru-cache's changelog. cringe lorg 7.13.0 Add forceRefresh option to trigger a call to the fetchMethod even if the item is found...

dependencies
javascript

Bumps [@testing-library/react-hooks](https://github.com/testing-library/react-hooks-testing-library) from 7.0.2 to 8.0.1. Release notes Sourced from @​testing-library/react-hooks's releases. v8.0.1 8.0.1 (2022-06-18) Bug Fixes server: remove act around server renderer to fix support for older versions of...

dependencies
javascript

Hi, i'd like to suggest you to use the new version of lru-cache and start using `lru-cache/browser` instead of `lru-cache` [lru-cache v7.4.0](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md#740)

``` Type error: Type '(config?: AxiosRequestConfig | undefined, options?: RefetchOptions | undefined) => AxiosPromise' is not assignable to type 'MouseEventHandler'. Types of parameters 'config' and 'event' are incompatible. Type 'MouseEvent'...

Stale

not able to catch error and breaking at `Uncaught TypeError: Cannot read properties of undefined (reading 'data') at reducer (index.js:167:1) at updateReducer (react-dom.development.js:15318:1) at Object.useReducer (react-dom.development.js:16425:1) at Object.useReducer (react.development.js:1512:1) at...

In the below code example, if I call 'refetch' manually and it cancels (without a new 'refetch' happening) - then the loading state variable will stay true. ``` const [{...

The useAxios hook uses a LRU cache by default. When writing tests, the cache is not invalidated between tests (at least not with testing-library). This makes previous responses "bleed" into...

When using lru cache, it looks like the config object is stringified for the key. https://github.com/simoneb/axios-hooks/blob/6f060a20db7cb4ca70bd06315e05ff0a847ebd4d/src/index.js#L48 In my project i have a need to clear the cached value so that...

### Pending commits since release [v3.1.5](https://github.com/simoneb/axios-hooks/releases/tag/v3.1.5) Unreleased commits have been found which are pending release, please publish the changes. * [70e1b06](https://github.com/simoneb/axios-hooks/commit/70e1b06158458ebeeafa0b102a02c397b467cb59) chore(deps-dev): bump @types/jest from 29.0.2 to 29.0.3 (#1049) *...

notify-release