TanStack Virtual is a headless UI utility for virtualizing large lists, grids, and tables. It renders only the visible items in the viewport, dramatically reducing DOM nodes and improving performance for datasets with thousands of rows. Framework adapters are available for React, Vue, Solid, Svelte, Lit, and Angular.
When to use: Rendering thousands of rows or columns, building virtualized tables, implementing infinite scroll, displaying large datasets where DOM node count impacts performance.
When NOT to use: Small lists under 100 items (no performance benefit), server-rendered static content, layouts where all items must be in the DOM for SEO or accessibility, simple pagination (render one page at a time instead).
TanStack Virtual per virtualizzare elenchi, griglie e tabelle di grandi dimensioni. Da utilizzare durante il rendering di migliaia di righe, l'implementazione dello scorrimento infinito o l'ottimizzazione di visualizzazioni di dati di grandi dimensioni. Utilizzare per virtual, virtualize, virtual-list, virtual-scroll, useVirtualizer, infinite-scroll, windowing. Fonte: oakoss/agent-skills.