rehooks-ts

An optimized, lightweight, and reusable react production-ready hooks library written in TypeScript

MIT License

Downloads
192
Stars
7
import { useCounter } from 'rehooks-ts';

function Component() {
  const { count, increment, decrement } = useCounter(0);
  ...
}