01Chapter 1: Why Zustand and when to reach for itZustand is a small state-management library for React. A Zustand store holds shared state and the actions that change it. Components read that state through selectors, which are functions that choose part of the store.2 min read
03Chapter 3: How middleware wraps a storeAssume React hooks, modules, immutable updates, and basic Zustand stores. Middleware is a function that wraps a store creator to add behavior without placing that behavior in every action.1 min read