"use-all-hook" is a react hooks package for a lot of hooks in the future.
npm install use-all-hook
npm i use-all-hook
`
###### If using yarn
`
yarn add use-all-hook
`
Require them
`jsx
import AllHooks from "use-all-hook";
`
or
`jsx
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.
`jsx
import { useAsync, useFetch } from "use-all-hook";
``