opensources.dev

query vs zustand

query and zustand are two comparable TypeScript projects, each with trade-offs depending on your needs. Both have comparable adoption (49,751 and 58,297 stars). Both are MIT-licensed.

queryzustand
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.Zustand is a minimal, hook-based state management library for React (with a framework-agnostic vanilla core) built on simplified flux principles. It avoids context providers and boilerplate while handling React's tricky edge cases like zombie children and concurrency.
CategoryState managementState management
LanguageTypeScriptTypeScript
LicenseMITMIT
Stars49,75158,297
Downloads/wk
Security
Health100100
Last commit6/14/20266/14/2026
SourceGitHub GitHub

More: query alternatives · zustand alternatives