3.0.0 • Published 9 months ago

@casperiv/useful v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

useful

List of useful React functions and hooks

install

npm

npm install @casperiv/useful

Yarn

yarn add @casperiv/useful

Usage

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

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

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

Available hooks