Jesus sucks
This commit is contained in:
20
backend/frontend/node_modules/@restart/hooks/README.md
generated
vendored
Normal file
20
backend/frontend/node_modules/@restart/hooks/README.md
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# @restart/hooks [![npm][npm-badge]][npm]
|
||||
|
||||
A set of utility and general-purpose React hooks.
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
npm install @restart/hooks
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import useInterval from '@restart/hooks/useInterval'
|
||||
|
||||
useInterval(() => loop(), 300, false)
|
||||
```
|
||||
|
||||
[npm-badge]: https://img.shields.io/npm/v/@restart/hooks.svg
|
||||
[npm]: https://www.npmjs.org/package/@restart/hooks
|
||||
Reference in New Issue
Block a user