npm.io
1.1.1 • Published 1 year ago

@febelen/rehooks-ts

Licence
MIT
Version
1.1.1
Deps
1
Size
32 kB
Vulns
0
Weekly
0
Stars
111
DeprecatedThis package is deprecated
rehooks

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.