Browse documentation
Content search

Start with the right question. Land on the right page.

One search covers the learning path and agent references. Titles, body copy, task keys, packages, and version metadata all participate.

RESULT SET / 08

8entries indexed

  1. 01
    agentTanStack Query

    Build a bounded cursor Infinite Query

    Use one queryKey for the full list, let server cursors drive pageParam, and bound cache and refetch cost with maxPages.

  2. 02
    agentTanStack Query

    Configure Query SSR and streaming hydration

    Create a QueryClient per SSR request, use the Router integration for dehydration and hydration, and classify blocking versus streaming queries.

  3. 03
    agentTanStack Query

    Consume Query AbortSignal

    Pass the queryFn signal into the request layer so cancellation stops I/O with explicit cache-revert semantics.

  4. 04
    agentTanStack Query

    Define a Query freshness contract

    Set staleTime from data volatility and decide inactive-cache gcTime independently.

  5. 05
    agentTanStack Query

    Implement a rollback-safe optimistic update

    Cancel conflicting refetches, snapshot cache, write an immutable draft, roll back on failure, and revalidate on settlement.

  6. 06
    agentTanStack Query

    Prefetch Query from a route loader

    Create a request-scoped QueryClient for SSR and reuse one queryOptions contract in the loader and useSuspenseQuery.

  7. 07
    agentTanStack Query

    Router loader or Query?

    Choose Loader, Query, or both from navigation criticality and data lifecycle needs.

  8. 08
    agentTanStack Query

    Update cache from a mutation response

    Use setQueryData when the write response contains the complete entity; invalidate when the correct cache cannot be derived.

TanStack Atlas

Original bilingual knowledge · verified against primary sources

Friend linksGitHub