lit/compose-with-tanstack-virtual
OfficialVirtualize Lit tables for fast scrolling
Software Engineering#performance#virtualization#tanstack table#scrolling#lit#render loop#virtualizer controller
AuthorTanStack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Rendering thousands of Lit table rows becomes slow and unresponsive, especially when users need smooth scrolling in data-dense grids.
Core Features & Use Cases
- Pair TanStack Table with virtualization: Use
@tanstack/lit-virtualbecause TanStack Table itself does not virtualize rows or columns. - Virtualize the post-feature row model: Drive virtualization from
table.getRowModel().rowsso sorting, filtering, grouping, and pagination stay correct. - Drop-in Lit pattern for variable sizing: Use
VirtualizerControlleralongsideTableController, render onlygetVirtualItems(), andmeasureElementeach virtual row.
Quick Start
Ask your AI assistant to show you how to wire VirtualizerController into your @tanstack/lit-table render loop using table.getRowModel().rows.length as the virtualizer count.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: lit/compose-with-tanstack-virtual Download link: https://github.com/TanStack/table/archive/main.zip#lit-compose-with-tanstack-virtual Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.