TanStack Table

Configure TanStack Table with server-side pagination, filtering, sorting, and virtualization.

961|99|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/jezweb/claude-skills --skill tanstack-table-jezweb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TanStack Table
Source: https://github.com/jezweb/claude-skills/tree/main/skills/tanstack-table
Command: npx skills add https://github.com/jezweb/claude-skills --skill tanstack-table-jezweb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @tanstack/react-table, @tanstack/react-virtual, and includes references (resource) components.

What problem does it solve?

This Skill eliminates the complexity of building performant data tables with server-side pagination, filtering, and sorting, saving developers from hours of debugging and configuration work.

Core Features & Use Cases

  • Server-Side Patterns: Complete implementation for API-driven pagination, filtering, and sorting.
  • Cloudflare D1 Integration: Ready-to-use patterns for Workers + D1 databases.
  • Use Case: Imagine you need to display 10,000 user records with real-time search and sorting. Use this Skill to automatically generate the complete frontend table code and backend API endpoints that work together seamlessly.

Quick Start

Use the tanstack-table skill to create a server-paginated table that fetches user data from a Cloudflare D1 database, with columns for name, email, and role.

Frequently Asked Questions about TanStack Table

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a data table that handles server-side pagination and filtering?

Server-side pagination delegates sorting, filtering, and data fetching to your backend API rather than loading all rows into memory. TanStack Table enables this through manual pagination flags, API-driven state management, and integration with backends like Cloudflare D1, allowing you to handle datasets with 10,000+ rows efficiently without client-side performance degradation.

Can I use TanStack Table with Cloudflare Workers and D1?

Yes. TanStack Table provides ready-to-use patterns for Workers + D1 databases, including server-side pagination, filtering, and sorting implementations. Combined with TanStack Query, it enables seamless API-driven data fetching from D1, with TypeScript typings and memoization for stable data handling.

How do I improve performance when rendering thousands of rows in a table?

Virtualization renders only visible rows in the viewport, drastically reducing DOM nodes and memory usage. TanStack Table integrates with virtualization libraries to display large datasets efficiently—combine server-side pagination with row virtualization to handle 10,000+ records smoothly without scrolling lag.

What's the difference between client-side and server-side table filtering and sorting?

Client-side filtering loads all data into the browser and processes it locally, causing memory and performance issues at scale. Server-side filtering sends filter and sort parameters to your API, which returns only matching results. TanStack Table's manual filtering and sorting flags enable server-side operation, reducing payload and improving responsiveness.

Do I need to handle TypeScript types when building tables with TanStack?

TanStack Table provides full TypeScript typings for columns, data, and state management, reducing runtime errors and enabling IDE autocomplete. Using TypeScript ensures type safety across your table configuration, API responses, and filtering logic—especially important when integrating with typed backends like D1.

What are common issues when implementing server-side pagination?

Unstable column and data references cause unnecessary re-renders and state resets. TanStack Table requires stable memoization of columns and data objects, proper error handling for failed API requests, and correct manual pagination flag configuration. This Skill covers these patterns to avoid debugging pagination resets or filter loss.