Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heyitsarpit/react-hooks-library
A collection of hooks and utilities for modern React
https://github.com/heyitsarpit/react-hooks-library
demos hooks react ssr treeshaking typescript
Last synced: 2 months ago
JSON representation
A collection of hooks and utilities for modern React
- Host: GitHub
- URL: https://github.com/heyitsarpit/react-hooks-library
- Owner: heyitsarpit
- License: mit
- Created: 2021-07-31T17:45:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-10T09:03:56.000Z (8 months ago)
- Last Synced: 2024-08-07T08:14:57.605Z (6 months ago)
- Topics: demos, hooks, react, ssr, treeshaking, typescript
- Language: TypeScript
- Homepage: https://react-hooks-library.vercel.app/
- Size: 2.61 MB
- Stars: 377
- Watchers: 4
- Forks: 16
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ![React Hooks Library](https://github.com/heyitsarpit/react-hooks-library/blob/main/website/public/logo_text.png)
[![Build Status](https://img.shields.io/github/workflow/status/heyitsarpit/react-hooks-library/Publish%20to%20NPM%20and%20Release%20To%20Github?style=flat&colorA=34B6BF&colorB=34B6BF)](https://github.com/heyitsarpit/react-hooks-library/actions/workflows/publish_release.yml?query=event%3Apush)
[![Version](https://img.shields.io/npm/v/@react-hooks-library/core?style=flat&colorA=33C5BC&colorB=33C5BC)](https://www.npmjs.com/package/@react-hooks-library/core)
[![License](https://img.shields.io/github/license/heyitsarpit/react-hooks-library?style=flat&colorA=32D4CB&colorB=32D4CB)](/LICENSE)A collection of hooks and utilities for React. List of [all function](https://react-hooks-library.vercel.app/functions). For more information, read the [official documentation](https://react-hooks-library.vercel.app).
## Features
- 🔮 Typescript
Written in typescript so you get the advantage of strong type safety
- 🧠 Server Side Ready
All hooks handle SSR rendering and work well with frameworks like Next/Gatsby
- 🌿 Tree Shakable
Exported as es modules, import cost for individual function is tiny
- 🎡 Interactive Demos
All hooks have a demo example to demonstrate their use
## Installation
```bash
npm i @react-hooks-library/core
# or
yarn add @react-hooks-library/core
# or
pnpm add @react-hooks-library/core
```## Contribution
Contribution guide coming soon... 🤞🏽
## Credits
This library is heavily inspired by [VueUse](https://vueuse.org/), from the vue ecosystem.
## License
[MIT](/LICENSE) © 2021 | [Arpit](https://github.com/heyitsarpit)