Using Zustand for Global Client-Side State & TanStack Query for Server-Side States
Introduction
State management is one of the most important concepts in building modern React applications. But not all state is the same. Some lives in the client (like toggling a dark mode switch), while other state must come from a server (like fet...
react-mastery.hashnode.dev3 min read