What problem does it solve?
Provides a structured approach to building resilient client-side architecture by prescribing best practices for UI state with Zustand, URL state with TanStack Router, and forms with TanStack Form, while coordinating live server data via Convex.
Core Features & Use Cases
- Guidance for using Zustand for shared UI state (and persistence) and when not to use it for server data.
- URL state patterns using TanStack Router search params; avoiding local component state for filters, navigation, and route params.
- Form handling with TanStack Form (and Zod) integrated with Convex mutations, including validation and submission patterns.
- Data fetching and mutations through Convex hooks; optimistic updates when instant feedback is needed, and proper use of non-convex reads via useAsyncQuery for non-critical reads.
Quick Start
Ask the assistant to apply these patterns to your NowStack app to set up UI state, URL state, and live Convex data integration.