npmjs.org : @custom-react-hooks/use-on-screen
The `useOnScreen` hook utilizes the Intersection Observer API to detect if an element is visible within the viewport. It's ideal for scenarios such as lazy loading images, triggering animations on scroll, and implementing features like infinite scroll.
Registry
-
Source
- Homepage
- JSON
- codemeta.json
purl: pkg:npm/%40custom-react-hooks/use-on-screen
License: MIT
Latest release: over 1 year ago
First release: about 2 years ago
Namespace: custom-react-hooks
Dependent packages: 1
Downloads: 2,242 last month
Stars: 28 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 29 days ago