
Client State Management: A Decision Guide
Redux is no longer the default. A decision guide for client state — minimal stores, framework signals, and the question of whether you need a store at all.
TL;DR: In 2026, a sound default for client state management is the smallest scope that works — local state and framework signals first, a minimal store only when sharing is real, and almost nothing in a heavy global store. Server data that apps cached in Redux-style stores can move to a query library, which TanStack Query's documentation says handles it more efficiently. This article gives you a decision checklist for settling state arguments before they start.
Why Redux stopped being the default
Reaching for Redux on a new project used to be a reflex. It stopped being the default not because of a flaw in Redux but because of a diagnosis: some of the "global state" people were putting in it was never client state at all. It was server state — fetched data, cached and revalidated — and that belongs in a query library, not a store. TanStack Query's documentation makes the case directly: client-state libraries such as Redux, MobX, and Zustand can store asynchronous data, but inefficiently compared with a query library, and for a vast majority of applications the truly globally accessible client state left over after moving that async data to a query library is usually very tiny. It also notes the exception: an app with a massive amount of synchronous client-only state, such as a visual designer or a music production app, will probably still want a client state manager. The split between server state and client state is the subject of a companion article on this topic; here the consequence is what matters: when you remove server state from the equation, the case for a large global store mostly evaporates.
What remained did not justify the boilerplate. Actions, reducers, and the wiring around them were a reasonable price when a store managed the whole application's data; they were a poor trade for the handful of UI flags a typical app actually shares. The cost was not only the lines of code — it was the indirection. Tracing how a value changed meant following an action to a reducer to a selector to a connected component, which is a worthwhile structure when the payoff is a fully traceable audit trail and a liability when the thing being traced is whether a drawer is open.
Redux is still appropriate for a specific shape of problem, and the Redux FAQ is honest about that scope. It opens by saying that not all apps need Redux, then lists the cases where Redux is most useful: large amounts of application state that are needed in many places in the app, state that is updated frequently, update logic that may be complex, a medium or large codebase that might be worked on by many people, and a need to see how that state is being updated over time. The same answer adds that many other tools can help solve some of the same problems Redux does: state management, caching fetched server data, and passing data through the UI. The change is not that the tool got worse. It is that the default got corrected: it is now a specific-case choice you reach for when the problem shape matches, rather than the thing you install before knowing whether you need it.
What replaced it
Nothing single replaced it, because the problem fragmented into the parts it always was. For genuinely shared client state, minimal stores are the lighter alternative. Zustand and Jotai are the common choices in 2026: Zustand for a small store with almost no ceremony, updated immutably through its set function, Jotai for atomic, bottom-up state composed from independent pieces. Both fit the realistic need — "share a little state across a few components," not "model the entire app as one reducer."
// A minimal store: genuinely shared client state, no server data.
import { create } from 'zustand'
type UiState = { theme: string; setTheme: (theme: string) => void }
const useUiStore = create<UiState>()((set) => ({
theme: 'system',
setTheme: (theme) => set({ theme }),
}))The second replacement is not a library at all. Framework signals — Vue's reactivity, Svelte 5 runes, Solid's signals — handle a large amount of local reactivity without any store. A value that is reactive at the component or module level often needs no shared container; the framework already tracks it.
<!-- Svelte 5 runes: local reactivity without any store -->
<script>
let count = $state(0)
</script>
<button onclick={() => count++}>{count}</button>The internals of how signals propagate updates, and their convergence across frameworks, are covered separately within this topic; the point for a state decision is narrower: signals push the threshold for "do I need a store" much higher than it was in 2019, because a lot of what once needed one is now just reactive local state.
The distinction between the two minimal-store options is worth holding precisely, because picking by reputation rather than fit is how teams end up fighting their tool. Zustand is a single small store you read with hooks and update immutably through its set function — the natural choice when there is one coherent slice of shared UI state and you want almost no ceremony around it. Jotai is atomic and bottom-up: state is composed from many independent atoms that derive from each other, which fits when shared state is really many small, loosely related pieces rather than one object. Neither is heavier conceptually than the other; they model sharing differently, and the right one follows the shape of the state, not a preference.
When you actually need a store
A store earns its place in two situations. The first is cross-component UI state that is not derived from the server and is shared by components that do not have a natural parent — a theme, a multi-step wizard's progress, a selection that several unrelated panels read. Lifting that through props or context is more friction than a small store. The second is a complex client-only domain — an editor, a canvas, a design tool — where the application's core is local-first state with rich update logic and undo, and that state genuinely lives in the client by nature. One rule bounds both, stated as the negative case: if the state is server-derived, it does not belong in a store at all, no matter how convenient that feels; it belongs in the query cache, and putting it in a store recreates the exact problem the server/client split was meant to remove.
Concretely, the legitimate cases are narrow and recognizable. A theme or locale preference read by a header, a footer, and a settings panel is shared, client-only, and has no common parent worth threading it through — a minimal store. A multi-step checkout or onboarding wizard whose steps are separate routes but whose collected answers must persist across them is shared client state with a real lifecycle — a minimal store. A drawing canvas or rich text editor, where the document model, selection, and undo stack are the application, is the local-first complex domain where a heavier pattern earns its keep. If your candidate does not look like one of these, it probably does not need a store.
The trap to name explicitly is the one that still happens in 2026: caching an API response in a store "so other components can read it." That is server state wearing a store's clothes, and it risks bringing back stale data, manual refetch sprawl, and divergence between what the store holds and what the server holds. The question "is this derived from the server" decides this case every time, and it is the first question in the checklist below for exactly that reason.
Choosing a client-state tool
The decision is an escalation ladder, and the discipline is refusing to skip rungs. Start at component-local state and framework signals — the smallest scope that works, no shared container at all. Promote to a minimal store only when the sharing is real: more than one unrelated component reads or writes the same client value and there is no clean parent to own it. Reserve heavier patterns — a full store with strict action traceability — for the genuinely complex client domains where that structure pays for itself in debuggability.
Framework choice barely enters this decision. Zustand and Jotai are React-centric; Vue, Svelte, and Solid can cover much of it with their own reactivity. Vue's documentation, for example, shows a shared reactive() object as a store that suffices in simple scenarios, and points to Pinia, maintained by the Vue core team, for the additional things large-scale production apps need to consider: stronger conventions for team collaboration, Vue DevTools integration, Hot Module Replacement, and server-side rendering support. The tool follows the scope, not the other way around, and one mistake to avoid is starting two rungs up the ladder because a previous project did.
Decision checklist
This is the core of the method as a three-step check, asked in order, for any piece of state you are about to manage:
- Is this derived from the server? → It belongs in the query library, not a store. Stop here.
- Is it shared across unrelated components with no natural parent? → A minimal store (Zustand or Jotai in React, or your framework's own store) is justified.
- Otherwise → keep it local: component state or a framework signal, the smallest scope that works.
A third, slower question applies only to editors, canvases, and similarly complex client-only domains: does this local-first domain have update logic complex enough to need strict traceability? Only then does a heavier store pattern earn its cost.
Run state through those questions before reaching for the tool you used last time. The decline of the default store was not a trend to follow — it was a correction toward putting each kind of state where it actually belongs, and the checklist is just that correction made repeatable.
Diagnostic checklist for the next planning cycle
If your app still has a large store that everything funnels through, audit it instead of rewriting it:
- List every slice in the store and tag each as server-derived or genuine client state.
- Move the server-derived slices to the query library and delete their manual refetch code.
- For the client slices that remain, check whether a framework signal or local state would cover them with less surface.
- Keep only the slices that are genuinely shared across unrelated components in a minimal store.
- Write the decision checklist into your contributing guide so the next addition starts at the right rung.
Default to the smallest scope, escalate only on evidence of real sharing, and keep server data out of the store entirely. That sequence does not depend on a particular framework, which is why it is the part of the decision worth standardizing.