Dev-CasperTheGhost / useful

List of useful React functions and hooks

Home Page:http://npm.im/@casper124578/useful

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

List of useful React functions and hooks

http://npm.im/@casper124578/useful

License:MIT License


Languages

Language:TypeScript 85.4%Language:JavaScript 14.6%