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,962 and 58,547 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,96258,547
Downloads/wk
Security
Health100100
Last commit7/11/20267/10/2026
SourceGitHub GitHub

More: query alternatives · zustand alternatives