# Frontend State Management

- **Server state**: TanStack Query (`AppProviders`)
- Defaults: `staleTime 30s`, `retry 1`, no refetch on window focus
- Mutations invalidate related query keys
- **UI state**: local React state / RHF
- **Theme**: ColorModeProvider
- Do not duplicate server lists in Redux/Zustand
