# react-hook-dom

> 🌋Judge whether the element overflows and can scroll to the hooks collection at the specified position.

Latest version **1.0.2** (published 2022-04-12) · 0 weekly downloads

## Install

```sh
npm install react-hook-dom
pnpm add react-hook-dom
yarn add react-hook-dom
bun add react-hook-dom
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-04-12 |
| First published | 2022-04-12 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | yanxiaolazy |
| Maintainers | yanxiaolazy |
| Keywords | react, hook, hooks, dom |

## Links

- npm: https://www.npmjs.com/package/react-hook-dom
- Repository: https://github.com/yanxiaolazy/react-hook-dom
- Homepage: https://github.com/yanxiaolazy/react-hook-dom#readme
- Issues: https://github.com/yanxiaolazy/react-hook-dom/issues
- npm.io page: https://npm.io/package/react-hook-dom

## Dependencies (1)

- [react](https://npm.io/package/react.md) ^18.0.0

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2022-04-12
- 1.0.1 — 2022-04-12
- 1.0.0 — 2022-04-12

## README

# react-hook-dom

🌋Judge whether the element overflows and can scroll to the hooks collection at the specified position.

## Getting Started

Install dependencies,

```bash
npm i react-hook-dom
```

or

```bash
yarn add react-hook-dom
```

## Usage

```javascript
import { useLoading } from 'react-hook-dom';

const [loading, exector] = useLoading(requestFn);
```

Check the [documentation](https://yanxiaolazy.github.io/react-hook-dom/hooks/use-loading) to learn more about hook and its usage.

## Hooks

- [x] useLoading
- [ ] useScrollToBottom
- [ ] useScrollToTop
- [ ] useComputeOverflow
- [ ] useScrollTo

If you have more ideas about hooks, please mention issue or pull request.

---
_Source: https://npm.io/package/react-hook-dom · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
