An open API service indexing awesome lists of open source software.

https://github.com/ayushmxxn/react-hooks

A collection of customizable React hooks to accelerate your workflow.
https://github.com/ayushmxxn/react-hooks

customhooks hooks react

Last synced: 3 months ago
JSON representation

A collection of customizable React hooks to accelerate your workflow.

Awesome Lists containing this project

README

          

![React Hooks Demo](https://i.ibb.co/wQSfKPk/react-hooks-demo.gif)

## Features

- Easily customize or extend hooks to suit your needs.
- Save time and reduce boilerplate code in your React projects.

## Usage

1. Open the command palette (Ctrl+Shift+P or Cmd+Shift+P).
2. Type **"React Hooks"** and select the command to generate the hooks folder in your current workspace.
3. Find your hooks in the `src/hooks` or `app/hooks` directory, depending on your project structure.

## Hooks

List of hooks available:

- **`useDebounce`**: Debounces a value for a specified delay.
- **`useThrottle`**: Throttles a callback function for a specified delay.
- **`useFetch`**: Fetches data from a specified URL.
- **`useLocalStorage`**: Synchronizes state with `localStorage`.

## Contribution

Contributions are welcome! If you'd like to add more useful hooks or improve the existing ones, feel free to contribute.

## Creator

This extension is created and maintained by the following person.

Ayushmaan Singh

Ayushmaan Singh

## Connect

- [Twitter](https://twitter.com/ayushmxxn)
- [GitHub](https://github.com/ayushmxxn)

## License

This extension is licensed under the [MIT License](LICENSE).