TanStack

    TanStack/query

    #945 this week

    🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

    api
    frontend
    async
    cache
    data
    fetch
    graphql
    TypeScript
    MIT
    50.3K stars
    4.2K forks
    50.3K GitHub watchers
    Updated 9/2/2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Use Cases & Benefits

    • Provides powerful asynchronous state management and server-state utilities for web applications using TypeScript and JavaScript.
    • Offers protocol-agnostic data fetching with built-in caching, background updates, and support for React, Solid, Svelte, and Vue frameworks.
    • Use for managing server state and caching in React applications to simplify data fetching and synchronization.
    • Use for building performant infinite scroll and pagination features with automatic background data refetching.
    • Use for integrating GraphQL or REST APIs with automatic query invalidation and mutation handling in modern frontend frameworks.

    About query

    TanStack Query

    TanStack Query

    An async state management library built to simplify fetching, caching, synchronizing, and updating server state.

    • Protocol‑agnostic fetching (REST, GraphQL, promises, etc.)
    • Caching, refetching, pagination & infinite scroll
    • Mutations, dependent queries & background updates
    • Prefetching, cancellation & React Suspense support

    Read the docs →

    Get Involved

    Partners

    CodeRabbit Cloudflare
    Query & you?

    We're looking for TanStack Query Partners to join our mission! Partner with us to push the boundaries of TanStack Query and build amazing things together.

    LET'S CHAT

    Explore the TanStack Ecosystem

    … and more at TanStack.com »

    Discover Repositories

    Search across tracked repositories by name or description