State Management Philosophy - Server State → TanStack Query - Client State → Zustand - Form State → React Hook Form + Zod - URL State → nuqs or searchParams TanStack Query Query Keys Factory Hooks Pattern Zustand Typed Store Performance: Use Selectors Persist Middleware Computed Values with Selectors Form State: React Hook Form + Zod ---