Zustand, Jotai, Redux Toolkit, Context — choose the right state management for your React app's complexity.
Five passes over the same idea, each from a different angle. Do them in order, or jump to whichever you need.
State management ranges from local (useState), to shared (Context, Zustand), to global (Redux Toolkit). Modern approaches favor smaller stores, derived state, and co-location. Server state (React Query/SWR) is different from client state. Understanding when you need a state library vs when hooks suffice prevents over-engineering.