- Web
Infinite Scroll
An Infinite Scroll component is a user interface feature that automatically loads and displays additional content as the user scrolls down a page. Instead of traditional pagination, this component creates a seamless browsing experience by continuously appending new items, such as images or articles, when the user reaches the bottom of the viewport. This enhances user engagement and keeps the content flow uninterrupted, making it ideal for applications like social media feeds, product galleries, and news websites.
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| data | readonly T[] | Optional | |
| renderItem | (info: NListRenderItemInfo<T>) => ReactNode | Required | |
| keyExtractor | ((item: T, index: number) => string) | Optional | |
| height | number | Optional | |
| itemSize | number | Optional | Exact row height in logical points, including any separator. |
| estimatedItemSize | number | Optional | Rust measures row content when itemSize is omitted. |
| numColumns | number | Optional | |
| onEndReached | ((info: { distanceFromEnd: number; }) => void) | Optional | |
| onEndReachedThreshold | number | Optional | Distance to the end as a fraction of the viewport height. Default: 0.5. |
| ListEmptyComponent | ReactElement<unknown, string | React.JSXElementConstructor<any>> | ComponentType | null | Optional | |
| onRefresh | (() => void) | Optional | |
| refreshing | boolean | Optional | |
| className | string | Optional | Supported Tailwind-style utilities, resolved entirely in Rust. See the engine README. |
- Infinite Scroll
- Lists and Scrolling
- React Infinite Scroll
- Infinite Scroll Component
- React Infinite Scrolling
- React Virtual Scroll
- Load More on Scroll
- Infinite Scroll Library
- React Infinite Scroll Hook
- Infinite Scroll Example
- Lazy Load in React
- React Scroll Pagination
- Infinite Scroll Implementation
- React Infinite List
- Scrolling Content in React
- Custom Infinite Scroll
- React Infinite Scroll Component
- Optimized Infinite Scroll
- React Infinite Load More
- Infinite Scrolling List
- React Infinite Scroll Hooks
- Infinite Scroll Performance
- React Infinite Scrolling Example
- Infinite Scroll UI Component
- React Infinite Scroll Tutorial
- Infinite Scroll Design System
- React Infinite Scroll TypeScript
- Mobile Infinite Scroll React
- Infinite Scroll Best Practices
- React Infinite Scroll Performance
- Infinite Scroll UI Library
- Virtual Scrolling React
- Pagination Component React
- Lazy Loading React
- Scroll Component React