tanstack-react-table-best-practices
/tanstack-react-table-best-practices
TanStack Table conventions for stable React table schemas and instance behavior. Use when creating, debugging, or reviewing tables, columns, metadata, or rendering.
- Author
- bastidood ↗
- Repository
- skills ↗
- Licence
- MPL-2.0
- Last repository change
- 13.11.2026
Assessment and security
- Files in this package
- 9
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.
MPL-2.0, otwarta.
What it does and when to use it
TanStack Table conventions for stable React table schemas and instance behavior. Use when creating, debugging, or reviewing tables, columns, metadata, or rendering.
Original author description
TanStack Table conventions for stable React table schemas and instance behavior. Use when creating, debugging, or reviewing tables, columns, metadata, or rendering.
How it works
- Library Sources
- References
SKILL.md preview
--- name: tanstack-react-table-best-practices description: TanStack Table conventions for stable React table schemas and instance behavior. Use when creating, debugging, or reviewing tables, columns, metadata, or rendering. --- # TanStack React Table Best Practices Treat a table as stable schema plus instance-specific behavior: explicitly register only the features it needs, stabilize schemas and options, place callbacks in local metadata, and render through table primitives. ## Library Sources - GitHub repository ID: `TanStack/table` - Context7 library ID: `/tanstack/table` - DeepWiki repository ID: `TanStack/table` Use Context7 for current documentation and DeepWiki for implementation details. ## References Read the references that apply to the current task before writing or reviewing TanStack Table code. 1. Configure a table deliberately. - [Register explicit capabilities and compose shared infrastructure](./references/explicit-capabilities.md) with only the row models and named functions in use. Never use `stockFeatures` or whole function registries. 2. Stabilize schema and option identities. - [Keep the table contract stable and its capabilities feature-local](./references/table-contract.md). Hoist immutable schema, memoize render-local values whether or not the React Compiler is enabled, and reserve declaration merging for a genuinely global contract. 3. Render and subscribe at the narrowest correct boundary. - [Render headers, cells, and footers through `FlexRender`](./references/cell-rendering.md) instead of invoking column definitions yourself. - [Give each state slice one owner and read it narrowly](./references/state-ownership.md), pairing every change callback with its `state` value and reserving full-store reads for debugging. - [Preserve instance ownership through receiver-bound methods and narrow subscriptions](./references/instance-ownership.md), especially for nested components that receive stable table objects. 4. Keep table controls consistent as pages load. - [Handle selection, sort clearing, filters, and pinning](./references/interaction-semantics.md) without treating loaded rows as the full dataset.
Files in this package (9)
- SKILL.md 2 KB
- agents/openai.yaml 1 KB
- assets/icon-light.svg 17 KB
- references/cell-rendering.md 1 KB
- references/explicit-capabilities.md 2 KB
- references/instance-ownership.md 2 KB
- references/interaction-semantics.md 3 KB
- references/state-ownership.md 2 KB
- references/table-contract.md 3 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · bastidood/skills | 90 | MPL-2.0 |
| Casper-Studios/casper-marketplace | 90 | MPL-2.0 |
Database snapshot: 13.11.2026 · package version 82e351cd8a26 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90tanstack-svelte-table-best-practices
TanStack Table v9 conventions for static Svelte table schemas and reactive instance data. Use when creating or reviewing Svelte tables, columns, metadata, or rendering. - 100tanstack-table
Apply TanStack Table UI-state patterns for Svelte data tables, including columns, rendering, sorting, filtering, pagination, and row identity. Use when building or reviewing data-table UI, not Epicenter workspace storage tables. - 90tanstack-react-query-best-practices
TanStack Query conventions for cache-backed React server state. Use when creating or reviewing React queries, mutations, query keys, or cache updates. - 90tanstack-react-query-best-practices
TanStack Query conventions for cache-backed React server state. Use when creating or reviewing React queries, mutations, query keys, or cache updates. - 95tanstack-query-best-practices
TanStack Query (React Query) best practices for data fetching, caching, mutations, and server state management. Activate when building data-driven React applications with server state. - 95tanstack-start-best-practices
TanStack Start best practices for full-stack React applications. Server functions, middleware, SSR, authentication, and deployment patterns. Activate when building full-stack apps with TanStack Start.