This package has been deprecated

Author message:

This package has been moved to `@casperiv/useful`

@casper124578/useful
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

useful

List of useful React functions and hooks

install

npm

npm install @casper124578/useful

Yarn

yarn add @casper124578/useful

Usage

import { useMounted } from "@casper124578/useful/hooks/useMounted";

const Component = () => {
  const mounted = useMounted();
  console.log("Mounted?", mounted);

  return <p>Hello world!</p>;
};

Available hooks

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i @casper124578/useful

    Weekly Downloads

    6

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    21.6 kB

    Total Files

    29

    Last publish

    Collaborators

    • casper124578