Installation
You can install react-simplikit from npm using your favorite package manager.
sh
npm install react-simplikitsh
pnpm add react-simplikitsh
yarn add react-simplikitsh
bun add react-simplikitRequirements
- React 18 or higher
- TypeScript 4.7 or higher (recommended)
Usage
Import hooks directly from the package:
tsx
import { useToggle } from 'react-simplikit';All hooks are tree-shakeable, so you only include what you use in your bundle.