react-hooks-extended
v1.0.1
Published
- `Don't use in production, you can copy paste any hook into your code.` - `made only to try new tools & write more TS` - [React](https://reactjs.org/) - [TypeScript](https://www.typescriptlang.org/) ❤ - [Nx](https://nx.dev/) `Monorepo tool` - [Do
Downloads
14
Readme
React Hooks Extended 📦 Docs
Don't use in production, you can copy paste any hook into your code.
made only to try new tools & write more TS
- React
- TypeScript ❤
- Nx
Monorepo tool
- Docusaurus
Easy to create Docs ❤
- Mdx 😲
Installation
npm i react-hooks-extended
yarn add react-hooks-extended
Basic usage
function Example() {
const { count, increment, decrement, reset } = useCounter();
return (
<div>
<p>Count: {count}</p>
<button onClick={increment}>Increment</button>
<button onClick={decrement}>Decrement</button>
<button onClick={reset}>Reset</button>
</div>
);
}
Clone ?
Run playground server on port: 3000
yarn start
Run documentation server on port: 3001
yarn docs
##All Hooks are documented Here!
More ?
There's alot of hooks can be done. try by yourself and you can find some tutorial online and codes you can learn from.