Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

A collection of hooks and utilities for modern React

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)