react-hook-dom
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

react-hook-dom

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

Getting Started

Install dependencies,

npm i react-hook-dom

or

yarn add react-hook-dom

Usage

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

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

Check the documentation 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.

Readme

Keywords

Package Sidebar

Install

npm i react-hook-dom

Weekly Downloads

11

Version

1.0.2

License

none

Unpacked Size

4.09 kB

Total Files

8

Last publish

Collaborators

  • yanxiaolazy