react-hooks-extended
Advanced tools
Comparing version 0.0.2 to 1.0.0
{ | ||
"name": "react-hooks-extended", | ||
"version": "0.0.2", | ||
"main": "./src/index.js", | ||
"typings": "./src/index.d.ts" | ||
"version": "1.0.0" | ||
} |
@@ -1,7 +0,61 @@ | ||
# react-hooks-extended | ||
# React Hooks Extended 📦 [Docs](https://momensherif.github.io/react-hooks-extended/) | ||
This library was generated with [Nx](https://nx.dev). | ||
- `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` | ||
- [Docusaurus](https://docusaurus.io/) `Easy to create Docs ❤` | ||
- [Mdx](https://mdxjs.com/) 😲 | ||
## Running unit tests | ||
## Installation | ||
Run `nx test react-hooks-extended` to execute the unit tests via [Jest](https://jestjs.io). | ||
```shell | ||
npm i react-hooks-extended | ||
``` | ||
```shell | ||
yarn add react-hooks-extended | ||
``` | ||
## Basic usage | ||
```jsx | ||
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 | ||
```shell | ||
yarn start | ||
``` | ||
Run documentation server on port: 3001 | ||
```shell | ||
yarn docs | ||
``` | ||
##[All Hooks are documented Here!](https://momensherif.github.io/react-hooks-extended/) | ||
## 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. | ||
- [Web dev simplified | youtube](https://www.youtube.com/playlist?list=PLZlA0Gpn_vH-aEDXnaFNLsqiJWFpIWV03) | ||
- [useHooks](https://usehooks.com/) | ||
- [usehooks-ts](https://usehooks-ts.com/) | ||
- [rooks](https://react-hooks.org/) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
947
1
62
29515
39
1