The two-state model
Server state (API data) belongs in TanStack Query or similar: caching, stale-while-revalidate, pagination, and mutations with optimistic updates. Client state (UI toggles, wizard steps) fits Zustand or React context scoped to a feature.
Redux still fits complex client workflows with time-travel debugging requirements — but it should not cache API responses by default in 2026.
Migration path
We migrate incrementally: identify top API endpoints, wrap in query hooks, delete redundant Redux slices, and measure bundle size reduction.
We default to TanStack Query for mutations, devtools, and enterprise support; SWR is fine for read-heavy marketing sites.
Discuss your project with an architect
No spam — response within one business day.
Schedule Consultation →