Windowing / List Virtualization
Learn how virtualization renders only the visible slice of a large list, keeping DOM size and render cost constant regardless of total item count.
List virtualization (windowing) renders only the subset of a large list's items currently visible within (or near) the scrollable viewport, rather than rendering every single item into the DOM up front. Libraries like react-window and react-virtualized implement this by measuring the container's scroll position and calculating which item indices are currently visible, rendering only those, and using absolute positioning (or transform) to place them correctly within a container sized to represent the full list's total scrollable height.
Virtualization is like a scrolling ticker display that only physically lights up the handful of characters currently in the visible window, even though the full message is much longer — the display doesn't need physical bulbs for every character in the whole message, just enough to show whatever's currently passing through the visible frame.