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,495 vs 49,751 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,75161,495
Downloads/wk35.4M
SecurityClean
Health100100
Last commit6/14/20266/13/2026
SourceGitHub GitHub

More: query alternatives · redux alternatives