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: 11 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 (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-06-10T09:03:56.000Z (about 2 years ago)
- Last Synced: 2024-11-24T09:34:07.871Z (over 1 year ago)
- Topics: demos, hooks, react, ssr, treeshaking, typescript
- Language: TypeScript
- Homepage: https://react-hooks-library.vercel.app/
- Size: 2.61 MB
- Stars: 381
- Watchers: 4
- Forks: 15
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 
[](https://github.com/heyitsarpit/react-hooks-library/actions/workflows/publish_release.yml?query=event%3Apush)
[](https://www.npmjs.com/package/@react-hooks-library/core)
[](/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)