When to use React Query vs Zustand - a mental model for state management decisions.
One of the most common mistakes I see in React applications is conflating server state with client state. They have different lifecycles, different caching needs, and should be managed differently.
Server state is data that lives on the server and you're just caching locally. Client state is data that only exists in the browser - form inputs, UI state, user preferences.