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

🐶 React hook for making isomorphic http requests

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

``` const { loading, get } = useFetch( `${apiGateWayEndpoint}/api/v1/schdule`, { headers: { 'Content-Type': 'application/json', }, redirect: 'follow', cachePolicy: CachePolicies.NO_CACHE, } ); getData = async (id) => { get(`?id=${id}`); } ```...

Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3. Changelog Sourced from y18n's changelog. 4.0.3 (2021-04-07) Bug Fixes release: 4.x.x should not enforce Node 10 (#126) (1e21a53) 4.0.1 (2020-11-30) Bug Fixes address prototype...

dependencies

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Hello i read the documentation and provider its the way, but amplify cognito send their own API library with their methods, but its possible to use with this library to...

When `cachePolicy` is set to `cache-first`, non-`2xx` responses are cached. I want to be able to avoid caching non-`2xx` response. The codesandbox uses a `404` response as that is what...

Bumps [ws](https://github.com/websockets/ws) from 7.2.3 to 7.5.3. Release notes Sourced from ws's releases. 7.5.3 Bug fixes The WebSocketServer constructor now throws an error if more than one of the noServer, server,...

dependencies

**Describe the bug** useFetch sends old post body data, even if you specify a dependency array **⚠️ Make a Codesandbox ⚠️** https://codesandbox.io/s/usefetch-provider-requestresponse-interceptors-forked-39tn3?file=/src/index.js it uses an echo server **To Reproduce** see...

**Describe the bug** In 1.0.9, the suspense API with auto-managed state does not trigger a re-render of the component once an updated response is recieved. This means the rendered data...

Could you add a simple example usage with TypeScript in the doc?

help wanted

**Describe the bug** Destructuring the error property from `useFetch` causes stale `error` value even after retrying (and succeeding) the original request. The error value is behind and or doesn't get...