opensources.dev

query vs redux

query and redux are two comparable TypeScript projects, each with trade-offs depending on your needs. redux is the more popular choice (61,588 vs 49,962 stars). Both are MIT-licensed.

queryredux
SummaryTanStack Query is an async state management library for fetching, caching, synchronizing, and updating server state in web apps. It abstracts the lifecycle of asynchronous data with declarative queries and mutations, supporting any data source (REST, GraphQL, promises) across React, Vue, Svelte, Solid, and Angular.Redux is a small, predictable state container for JavaScript apps, built around a single immutable store, plain action objects, and pure reducer functions. Its official Redux Toolkit layer abstracts away boilerplate and codifies recommended patterns for real-world apps.
CategoryState managementState management
LanguageTypeScriptTypeScript
LicenseMITMIT
Stars49,96261,588
Downloads/wk35M
SecurityClean
Health100100
Last commit7/11/20266/29/2026
SourceGitHub GitHub

More: query alternatives · redux alternatives