When should you virtualize long lists in the UI

Rendering large lists can hurt scrolling and interaction. What thresholds and heuristics do you use to decide between pagination, windowing, and full render.

Ellen1979

Virtualize when the list can exceed roughly a few hundred DOM rows or row height is variable, because interaction cost usually shows up before raw render cost. I would not default to windowing though. Prefer full render for small, searchable lists, and use pagination when users need stable positions, shareable pages, or bulk actions across known chunks.

Sora