0.1.6 • Published 2 years ago
@onehook/storage v0.1.6
One hook : useStorage
React hook for persistent state with localStorage.
Instalation
yarn add @onehook/storage
Usage
import useStorage from '@onehook/storage';
const [value, setValue] = useStorage('key');