Skip to main content

Install

npm

Description

The useInfiniteScroll hook simplifies the implementation of infinite scrolling in your React application. It allows you to load more data automatically as the user scrolls to the bottom of the page or a container. This hook is particularly useful for applications that need to fetch and display a large dataset in chunks, improving both performance and user experience.

Parameters

Return Values

Example

useInfiniteScroll.example.tsx