{"library":"react-idb-cache","type":"library","category":null,"description":"React hook-based caching library that combines IndexedDB persistence with React state synchronization, version 1.4.1. Provides a useCached hook to fetch, cache, and retrieve data asynchronously, automatically updating React components when data arrives. Uses idb-keyval for IndexedDB operations and supports custom drivers, optional context isolation via CacheProvider, and TypeScript with generic type parameters. Released on npm with moderate frequency.","language":"javascript","status":"active","version":"1.4.1","tags":["javascript","React","cache","idb","IndexedDB","asynchronous","fetch","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-idb-cache","imports":["import { useCached } from 'react-idb-cache'","import { CacheProvider } from 'react-idb-cache'","import NullDB from 'react-idb-cache/driver/NullDB'"]},{"cmd":"yarn add react-idb-cache","imports":[]},{"cmd":"pnpm add react-idb-cache","imports":[]}],"homepage":"https://github.com/ph-fritsche/react-idb-cache#readme","github":"https://github.com/ph-fritsche/react-idb-cache","docs":null,"changelog":null,"pypi":null,"npm":"react-idb-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}