What problem does it solve?
State management is a cross-cutting concern that often becomes a bottleneck for scalable web apps, leading to stale UI, duplicated logic, and brittle data flows. This domain expert provides structured guidance for choosing and implementing state-management strategies across frontend and backend, with domain-specific constraints and patterns to ensure consistent, reliable behavior across routes and components.
Core Features & Use Cases
- Guidance for selecting frontend state techniques (server state, global UI state, local component state) and backend caching patterns (cache-aside with Redis).
- Domain-specific constraints for React (React Query, Zustand) and Redis-based backends to prevent anti-patterns and ensure data consistency.
- Production-readiness guidance including SSR hydration, data synchronization, and safety checks for Gate-like quality processes.
Quick Start
Create a recommended state-management plan for a Next.js app with server-state caching and a global UI store that persists across routes.