State Management
State is a liability. I design for minimum necessary state, colocate state with the components that own it, and avoid lifting state prematurely. The question isn't where to put state — it's whether that state needs to exist at all.
Client State Server State
│ │
▼ ▼
Local UI React Query
useState SWR / Cache
│ │
└─────────┬─────────┘
▼
UI Rendering