1.0.1 • Published 4 years ago
@bscop/use-bool v1.0.1
use-bool
A shortcut for React.useState.
Install
npm i @bscop/use-bool
Usage
import useBool from "@bscop/use-bool";
const [state, setTrue, setFalse] = useBool();
Contribute
Read the guidelines.
Run tests
npm test
Coverage
Coverage reports are hosted on codecov.
npm run badge:coverage -- --token=<guid>
Bruno Scopelliti\ www.brunoscopelliti.com