Sign in Sign up
npm

@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.

Activity

Latest release
2y ago
Total releases
8
Cadence
~daily
Last 12 months
0

Reach

Stars

Details

License
MIT
First release
Dec 01, 2023
Releases
Version Released
1.5.1 patch
1.5.0 minor
1.4.19 patch
1.4.18 patch
1.4.16 patch
1.4.15 patch
1.4.14 patch
1.4.12 initial