DeprecatedThis package is deprecated
Rehooks
An optimized, and flexible react production-ready hooks library written in TypeScript
npm i --save-dev @febelen/rehooks-ts
Usage
You can easily import hooks from @febelen/rehooks-ts and boom!
import { useCounter } from '@febelen/rehooks-ts';
function Component() {
const [count, increment, decrement] = useCounter(0);
...
}
License
Rehooks is licensed under the MIT License.