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

**Describe the bug** useFetch `post` call inserts quotes when passed a string. **⚠️ Make a Codesandbox ⚠️** [Please click this to easily reproduce the bug.](https://codesandbox.io/s/strange-wave-onbnw?file=/src/App.js) **To Reproduce** Steps to reproduce...

Are there any possibilities to re-use fetch outside of react component context? For example, if I want to use it together with redux.

feature-request

Hiya @alex-cory I've been using this for about a year, and I like the way it works. I've spotted you seem to be more busy than you were, do you...

Hello! I need make only one get request with other headers. How can I set Headers in the GET request? I want make something like this: ` const HOCComponent =...

Developer can initialize the useFetch instance once and call get, post, put method with different response payloads passing generic type if needed. This will help the developer to maintain clean...

Is it possible to pass options to the request methods such as `request.get` directly? I know we can set options using `Provider` and `useFetch`, but sometimes I need to conditionally...

**Describe the bug** Fetch is called in spite of conditional variable value is undefined **⚠️ Make a Codesandbox ⚠️** ```javascript const {data} = useFetch(`/api/product/${id}`, {}, [id]); ``` **Expected behavior** Fetch...

## Issue The package is intentionally misleading having no overlap with in its name or functionality with what is expected of `use-invariant` An invariant is defined as: > a function,...

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tmpl&package-manager=npm_and_yarn&previous-version=1.0.4&new-version=1.0.5)](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