
Description
React Infinite is a scrolling container for React that renders only the items a user can see, or is about to see. A long list that keeps every element in the DOM is inefficient, especially when it can run to tens or hundreds of thousands of items. React Infinite solves this by rendering the visible nodes and clustering the rest into a single blank node. It supports lists with static or variable element heights, built-in infinite loading of upcoming pages, and using the window as the scroll container. It can also be used as a chat or messaging-style display. The project reports 94% test coverage with Jest and type checking with Flow, and it includes examples to experiment with. You can use it in the browser with a dist build that expects React as a global variable, through npm, or through Browserify with the ES5-compiled source in the build folder. Version 0.7.1 supports React 0.14 and above, and the README asks users who need React 0.13 to pin version 0.6.0. The project is open source on GitHub under the SeatGeek organization.…
Highlights
- Renders only visible rows for long lists
- Static or variable element heights
- Infinite loading of upcoming pages
- Window as scroll container
- Chat-style display
Ratings & Reviews
No ratings yet
Be the first to rate react-infinite.
People also visit
react-infinite FAQ
What is React Infinite?
A scrolling container for React that keeps only the visible part of a long list in the DOM.
How do I install it?
Use npm, load the dist file in the browser with React as a global, or use the ES5 source in the build folder with Browserify.
Which React versions does it support?
Version 0.7.1 supports React 0.14 and above. For React 0.13, the README asks you to pin version 0.6.0.
Can it handle variable heights?
Yes. It supports both static and variable element heights.
How well is it tested?
The README reports 94% test coverage with Jest, and type checking with Flow.
What are the best react-infinite alternatives?
Popular alternatives to react-infinite include react-list, react-window and react-virtualized. See all react-infinite alternatives

















