TanStack Virtual
A headless library for virtualising long lists and grids, including rows of different or changing heights.
In more detail
It calculates which items are visible and where to place them, and leaves the markup and styling to you. It works with lists, grids and tables, and supports both vertical and horizontal scrolling.
Related terms
- list virtualization — Rendering only the rows of a long list that are currently visible, plus a few extra, instead of creating DOM nodes for every item.
- headless component — A component that provides behaviour, state and accessibility but no styling, leaving the look entirely to the consumer.
Taught in
- Virtualization: Rendering Infinite Datasets Efficiently — React 19 & Modern Component Architecture