TanStack

    TanStack/query

    #347 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
    49.3K stars
    3.8K forks
    49.3K GitHub watchers
    Updated 5/4/2026
    View on GitHub

    Backblaze Generative Media Hackathon

    Build the next generation of AI media apps with Genblaze, stored on Backblaze B2. $10,000 in prizes.

    Enter the hackathon

    Loading star history...

    Use Cases & Benefits

    • TanStack Query is a powerful async state management library for web apps, supporting data fetching, caching, and synchronization across multiple frameworks.
    • Key features include protocol-agnostic fetching (REST, GraphQL), caching, pagination, mutations, background updates, prefetching, cancellation, and React Suspense support.
    • Strengths are its broad framework support (React, Solid, Svelte, Vue), large community (46k+ stars), and active maintenance; limitations may include complexity for simple use cases.
    • Organizations can use it in production to efficiently manage server state, reduce redundant network requests, and improve UI responsiveness with built-in caching and background updates.
    • Ideal use cases include complex web applications requiring efficient data fetching, real-time updates, offline support, and seamless integration with 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