use-all-hook
0.2.7 • Public • Published
"use-all-hook" is a react hooks package for a lot of hooks in the future.
Installing
If using npm
npm i use-all-hook
If using yarn
yarn add use-all-hook
Require them
import AllHooks from "use-all-hook";
or
import {
useAsync,
useFetch,
useScript,
useToggle,
useArray,
useEventListener,
useSize,
useTimeout,
useDeepCompareEffect,
useOnScreen,
useMediaQuery,
} from "use-all-hook";
or
The same way but the hooks you need.
import { useAsync, useFetch } from "use-all-hook";
Enjoy the beauty of the react and react hooks
/use-all-hook/
//
Package Sidebar
Install
Weekly Downloads