use-http
πΆ React hook for making isomorphic http requests
File Explorer
Download Latest Version (.zip)- config.yml
- bug_report.md
- contributing.md
- FUNDING.yml
- jest.config.js
- setupTests.ts
- .nojekyll
- _coverpage.md
- CNAME
- index.html
- README.md
- abort-example-1.gif
- abort-example-2.gif
- apte-logo.png
- ava-logo.png
- dog.png
- microsoft-logo.png
- mozilla.png
- watch-youtube-video.png
- doFetchArgs.test.tsx
- Provider.test.tsx
- tsconfig.json
- useFetch-server.test.tsx
- useFetch.test.tsx
- useFetchArgs.test.tsx
- useMutation.test.tsx
- useQuery.test.tsx
- localStorage.test.ts
- localStorage.ts
- memoryStorage.ts
- defaults.ts
- doFetchArgs.ts
- ErrorBoundary.ts
- FetchContext.ts
- index.ts
- Provider.tsx
- types.ts
- useCache.ts
- useFetch.ts
- useFetchArgs.ts
- useMutation.ts
- useQuery.ts
- utils.ts
- .eslintignore
- .eslintrc.json
- .gitignore
- .watchmanconfig
- license.md
- package.json
- README.md
- tsconfig.json
- tsconfig.production.json
- yarn.lock
π Installation Guide
1. Get the code
git clone https://github.com/ava/use-http
Downloads the entire project code from GitHub to your computer.
cd use-http
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
<img src="https://img.shields.io/npm/dt/use-http.svg" />
Type this command into your terminal and run it.
<img src="https://npm.packagequality.com/shield/use-http.svg" />
Type this command into your terminal and run it.
<img src="https://img.shields.io/npm/v/use-http.svg" alt="Known Vulnerabilities" data-canonical-src="https://snyk.io/test/github/ava/use-http?targetFile=package.json" style="max-width:100%;">
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
