tanstack-table

Installation
SKILL.md

TanStack Table

Overview

TanStack Table is a headless table library — it provides state management and logic but no UI. You supply the rendering; it handles sorting, filtering, pagination, selection, and more.

When to use: Complex data tables with sorting/filtering/pagination, server-side data, large datasets (1000+ rows with virtualization), row selection/expanding/grouping.

When NOT to use: Simple static tables (use <table> directly), display-only lists (use a list component), spreadsheet-like editing (consider AG Grid).

Quick Reference

Pattern API / Config Key Points
Basic table useReactTable({ data, columns, getCoreRowModel }) Memoize data/columns to prevent re-renders
Column helper createColumnHelper<T>() Type-safe column definitions
Column groups columnHelper.group({ header, columns }) Nested headers; don't pin group columns
Sorting getSortedRowModel() + onSortingChange manualSorting: true for server-side
Filtering getFilteredRowModel() + onColumnFiltersChange manualFiltering: true for server-side
Related skills
Installs
52
GitHub Stars
11
First Seen
Feb 20, 2026