{"library":"react-use-rest","type":"library","category":null,"description":"Provides React hooks for fetching and mutating REST API data. v1.9.0 (last release) relies on axios and use-store-hook to share cached state across components without Context or prop-drilling. Offers auto-loading, polling, query support, and collection self-maintenance. Designed for React 16.10+, but no longer actively maintained; alternatives include React Query, SWR, and RTK Query.","language":"javascript","status":"maintenance","version":"1.9.0","tags":["javascript","react","hooks","api","rest","state"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-use-rest","imports":["import { createRestHook } from 'react-use-rest'","const { createRestHook } = require('react-use-rest')","const useKittens = createRestHook('/api/kittens')"]},{"cmd":"yarn add react-use-rest","imports":[]},{"cmd":"pnpm add react-use-rest","imports":[]}],"homepage":"https://github.com/kwhitley/react-use-rest","github":"https://github.com/kwhitley/react-use-rest","docs":null,"changelog":null,"pypi":null,"npm":"react-use-rest","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}