{"library":"react-fetch-hook","type":"library","category":null,"description":"React hook for conveniently using the Fetch API. Current stable version is 1.9.5. It is a tiny library (556 B) with both Flow and TypeScript types included. Key differentiators: simple API mirroring fetch, support for custom formatters, error handling with status codes, dependency-based request control (depends array), and a separate usePromise hook for custom async functions. It is actively maintained but has no major releases since 2022.","language":"javascript","status":"active","version":"1.9.5","tags":["javascript","react","hooks","fetch","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-fetch-hook","imports":["import { useFetch } from 'react-fetch-hook'","import { usePromise } from 'react-fetch-hook/usePromise'","const { useFetch } = require('react-fetch-hook')"]},{"cmd":"yarn add react-fetch-hook","imports":[]},{"cmd":"pnpm add react-fetch-hook","imports":[]}],"homepage":"https://github.com/ilyalesik/react-fetch-hook#readme","github":"ssh://git@github.com/ilyalesik/react-fetch-hook","docs":null,"changelog":null,"pypi":null,"npm":"react-fetch-hook","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}