3.0.0 • Published 2 years ago
@casperiv/useful v3.0.0
useful
List of useful React functions and hooks
install
npm
npm install @casperiv/usefulYarn
yarn add @casperiv/usefulUsage
import { useMounted } from "@casperiv/useful/hooks/useMounted";
const Component = () => {
const mounted = useMounted();
console.log("Mounted?", mounted);
return <p>Hello world!</p>;
};Available hooks
3.0.0
2 years ago