Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-hooks-extended

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hooks-extended - npm Package Compare versions

Comparing version 0.0.2 to 1.0.0

.babelrc

4

package.json
{
"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/)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc