use-http icon indicating copy to clipboard operation
use-http copied to clipboard

🐶 React hook for making isomorphic http requests

Results 93 use-http issues
Sort by recently updated
recently updated
newest added

Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2. Release notes Sourced from glob-parent's releases. v5.1.2 Bug Fixes eliminate ReDoS (#36) (f923116) Changelog Sourced from glob-parent's changelog. 5.1.2 (2021-03-06) Bug Fixes eliminate ReDoS...

dependencies

**Describe the bug** Invoking `useQuery` or `useMutation` with a regular function call (instead of a tagged template literal) + Provider triggers invariant variation: ``` useQuery requires a URL to be...

**Describe the bug** When an interceptor throw en Error, the `get()` promise still resolve correctly instead of rejecting **⚠️ Make a Codesandbox ⚠️** https://codesandbox.io/s/quizzical-banach-wejks?file=/src/App.js **To Reproduce** Steps to reproduce the...

I'm creating a custom hook for reusable http requests, it looks like below (shortened for the sake of simplicity): ``` import { useCallback } from 'react'; import useFetch from 'use-http';...

Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 Commits 8d4b369 chore(release): 2.8.9 29adfe5 fix: backport...

dependencies

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 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...

dependencies

Hi, I have a component that makes a request for data depending on the data it gets from its parent in props, and these also come from an external API....

Nice work! Very useful library. I want to control the cache, but the id is unknown. I hope the `responseID` can be exposed. https://github.com/ava/use-http/blob/c96145651c109e1241343982ae72cd8ad49189d4/src/doFetchArgs.ts#L95-L105 I can contribute code if needed.

Hello, I can't found any way to convert automatically some data types when I access the `json` respose. I would an automatic conversion from `string date`s to `Date`s object. As...

**Describe the bug** I have set persist to false but cache persist **Expected behavior** When persist or/and cache is set to "no-cache" it should not cache its request this feature...