
List Virtualization
- 1 installs
- 73.4k repo stars
- Updated June 18, 2026
- thedaviddias/frontendchecklist
Virtualizes long lists and tables to render only visible rows plus overscan, cutting DOM size and keeping scrolling responsive.
About
A frontend-checklist performance rule for virtualizing long lists and tables. A developer uses it when rendering thousands of rows wastes memory and hurts scroll performance.
- Render only visible items plus a small overscan buffer
- Preserve item sizing, keyboard access, and screen-reader semantics
List Virtualization by the numbers
- 1 all-time installs (skills.sh)
- Ranked #1,914 of 2,245 Frontend Development skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/thedaviddias/frontendchecklist --skill list-virtualizationAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1 |
|---|---|
| repo stars | ★ 73.4k |
| Last updated | June 18, 2026 |
| Repository | thedaviddias/frontendchecklist ↗ |
What it does
Virtualizes long lists and tables to render only visible rows plus overscan, cutting DOM size and keeping scrolling responsive.
Files
Virtualize long lists and tables
Rendering hundreds or thousands of rows at once wastes memory and makes style calculation, layout, and painting more expensive. Virtualization keeps large collections responsive by limiting the number of mounted nodes.
Quick Reference
- Render only what is visible plus a small overscan buffer instead of the entire list
- Use virtualization when repeated rows or cards push DOM size and layout cost too high
- Preserve item sizing, keyboard access, and screen-reader semantics when windowing content
- Measure scroll smoothness, memory use, and DOM node count before and after the change
Check
Inspect long lists, tables, grids, and feeds for places where the UI renders every item at once. Flag views where the number of mounted rows or cards is large enough to create DOM, memory, or scroll-performance issues.
Fix
Introduce list or table virtualization so only the visible rows plus overscan render, while preserving sizing, keyboard navigation, and any required sticky headers or selection behavior.
Explain
Explain list virtualization, why it improves performance for large collections, and the tradeoffs engineers need to watch for around measurement and accessibility.
Code Review
Inspect collection components, data tables, infinite feeds, and dashboards. Flag places where rendering the full dataset creates excessive DOM nodes or scroll jank, and verify the virtualization strategy still preserves item identity, semantics, and expected interactions.
---
For full implementation details, code examples, and framework-specific guidance, see references/rule.md.
Rule page: https://frontendchecklist.io/en/rules/performance/list-virtualization
Virtualize long lists and tables
Render only the visible subset of rows or cards in large collections to reduce DOM size, memory usage, and scroll-time rendering work.
Priority: high · Difficulty: intermediate · Time: 25 min
--- List virtualization, also called windowing, renders only the rows or cards a user can currently see plus a small buffer. This keeps large collections responsive without forcing the browser to maintain thousands of mounted nodes.
Code Examples
#
Render Only Visible Rows
return (
{({ index, style }) => (
<div style={style}>
{orders[index].customerName}
</div>
)}
)
}Avoid Rendering Every Row
// ❌ Bad: Thousands of mounted nodes at once
return (
<table>
<tbody>
{orders.map((order) => (
<tr key={order.id}>
<td>{order.id}</td>
<td>{order.customerName}</td>
</tr>
))}
</tbody>
</table>
)
}Why It Matters
- Smaller DOM: The browser manages tens of nodes instead of thousands.
- Lower memory pressure: Mounted components, event handlers, and style data stay bounded.
- Smoother scrolling: Style recalculation, layout, and paint work stay predictable during long-list interactions.
- Better interaction performance: Selection, hover, expansion, and keyboard navigation remain responsive on dense screens.
When to Use It
Virtualization is usually worth considering when:
- A single view renders more than roughly
100-200repeated items - DOM size approaches or exceeds roughly
1,500total nodes - Scrolling shows jank, dropped frames, or slow row interactions
- Tables or dashboards hold large datasets that users inspect incrementally
Avoid it when:
- The list is small enough to render normally
- SEO or full-document find-in-page behavior requires all content to be mounted
- Accessibility semantics would be degraded by a naive windowing implementation
Standards
- Use Patterns.dev: List Virtualization as the standard for measuring the final production behavior, not just local synthetic output.
- Use web.dev: Virtualize large lists with react-window as the standard for measuring the final production behavior, not just local synthetic output.
Verification
Cross-check the result against react-window guidance on virtualized lists so the DOM stays small without breaking keyboard or assistive-technology expectations.
1. Compare the mounted node count before and after the change and confirm the view no longer renders the full dataset at once. 2. Record a performance trace while scrolling and confirm layout, paint, and scripting work stay flatter with fewer long frames. 3. Verify keyboard navigation, row focus, selection state, and screen-reader labels still work as expected inside the virtualized list or table. 4. Tune the overscan buffer so fast scrolling does not reveal blank gaps while still keeping the mounted row count low. 5. Re-test memory usage and interaction responsiveness on lower-end mobile or laptop hardware if the list is part of a critical workflow.