Socket
Socket
Sign inDemoInstall

react-hooks-extended

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-hooks-extended

- `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


Version published
Weekly downloads
0
Maintainers
1
Install size
46.1 kB
Created
Weekly downloads
 

Readme

Source

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

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.

FAQs

Last updated on 29 Oct 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc