2022-09-07 11:20:27 +03:00
# react-hooks
2023-10-31 02:10:58 +02:00
## Introduction
**react-hooks** is an npm package that brings together multiple react hooks useful both in the development of the ecosystem in my home lab and for the general public.
## Package installation
2022-09-07 11:20:27 +03:00
```bash
// with npm
2022-12-28 18:11:33 +02:00
npm i --save @flare/react -hooks --registry https://lab.code-rove.com/public-node-registry
2022-09-07 11:20:27 +03:00
// with yarn
2022-12-28 18:11:33 +02:00
yarn add @flare/react -hooks --registry https://lab.code-rove.com/public-node-registry
2022-09-07 11:20:27 +03:00
```
2023-10-31 02:10:58 +02:00
## How to use the package
2022-09-07 11:20:27 +03:00
```jsx
2022-09-07 11:24:20 +03:00
import { useWindowSize, useLink, useTitle } from "@flare/react-hooks";
2022-09-07 11:20:27 +03:00
```
2023-10-31 02:10:58 +02:00
## Changelog
**1.0.0** - This version includes the initial version of react-hooks package.