react/client-to-server
OfficialTurn client tables into server-sliced grids.
System Documentation
What problem does it solve?
This Skill solves the challenge of migrating a TanStack React Table from client-side data processing (sorting, filtering, pagination) to server-side processing so you render only the server-returned slice while keeping pagination and controls correct.
Core Features & Use Cases
- Manual mode conversion for server-owned operations: Set
manualPagination,manualSorting,manualFiltering,manualGrouping, andmanualExpandingfor the operations the server owns. - Correct pager behavior with
rowCount: ProviderowCountfrom the server sogetPageCount()and next/previous paging work accurately. - Drop redundant row model factories: Remove the matching
_rowModelsentry (e.g., omitpaginatedRowModel) so the client does not re-slice or re-compute server-paginated results. - External slice state wiring: Own the relevant state slices via external atoms (
useCreateAtom+options.atoms) or via controlledstate+on*Changeso data fetching can key off the slice and refetch automatically.
Quick Start
Tell an AI to convert your existing @tanstack/react-table v9 client table to server-side manual mode by setting the appropriate manual* flags, removing the corresponding factories from _rowModels, wiring slice state to your fetcher, and passing the server rowCount so pagination renders correctly.
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: react/client-to-server Download link: https://github.com/TanStack/table/archive/main.zip#react-client-to-server 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.