npm i --save-dev @pyr33x/usehooks
You can easily import hooks from `@pyr33x/hooks` and boom!
import { useStorage } from '@pyr33x/hooks';
export function App() {
const [value, setValue] = useStorage('key', 'initialValue');
...
}
useWindow
-
useStatus
-
useStorage
-
useClient
-
useToggle
-
useScroll
useHooks is licensed under the MIT License.