@devloom/hooks
v1.0.2
Published
Reusable React hooks for frontend development (JS & TS support)
Maintainers
Readme
devloom-hooks
Small collection of React hooks:
useDebounce- debounces a valueuseLocalStorage- syncs a state value to localStorageuseAsync- helper to run async functions with status/value/error
Usage
import { useDebounce, useLocalStorage, useAsync } from 'devloom-hooks';See the function docs in the source files for simple usage examples.
Reusable React hooks supporting TypeScript & JavaScript.
Installation
npm install @devloom/hooks