A Set of React Hooks for Atomic Jolt
npm install --save @atomicjolt/hooks
yarn add @atomicjolt/hooks
import { useBool } from '@atomicjolt/hooks';
const Component = () => {
const [bool, toggle] = useBool(false);
return (
<div>
<button onClick={toggle}>Toggle</button>
<p>Bool is {bool}</p>
</div>
);
};