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

Package Sidebar

Install

npm i use-all-hook

Weekly Downloads

53

Version

0.2.7

License

ISC

Unpacked Size

46.8 kB

Total Files

54

Last publish

Collaborators

  • aritrosana