Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-forage

chengpeiquan4MIT0.2.2TypeScript support: included

LocalForage Hooks and Providers for React.

react, react-forage, react forage, react storage, react localForage, react localStorage, react sessionStorage, react WebSQL, react IndexedDB, localForage

readme

react-forage

React Forage

GitHub stars



LocalForage Hooks and Providers for React.

Usage

With npm(or yarn, or pnpm):

npm install react-forage

In .jsx / .tsx or other files:

import { LocalForageProvider, useLocalForageState } from 'react-forage'

Documentation

APIs and examples are provided here.

See: https://forage.cpq.dev

Release Notes

Please refer to CHANGELOG for details.

License

MIT License © 2024-PRESENT chengpeiquan