What problem does it solve?
TanStack provides a modular set of libraries for React to handle data fetching, routing, tabular UI, and form state. This guide shows how to combine TanStack Query, TanStack Router, TanStack Table, and TanStack Form with SpacetimeDB as the backend to build responsive, type-safe frontends with minimal boilerplate.
Core Features & Use Cases
- Query: Async data fetching with caching and background refetching for robust server state management.
- Router: Type-safe, file-based routing with integrated data loading for seamless navigation.
- Table: Headless table logic with sorting, filtering, and pagination to render dynamic data grids.
- Form: Structured form state management with validation for reliable user inputs.
- SpacetimeDB integration: Real-time data subscriptions with a cohesive data layer for modern apps.
Quick Start
Install the TanStack skill and start building a React app with TanStack libraries integrated with SpacetimeDB.