extra credit Search 85,062 technologies ⌘K Download for Mac

TanStack Query

Category
Frameworks and libraries
Docs outline
12 sections

Official docs outline

tanstack.com
  1. Important defaults

    staleTime, gcTime, refetch triggers, retries and structural sharing defaults.

  2. Queries

    useQuery, query status and fetchStatus, data, error and loading states.

  3. Query keys and functions

    Query key arrays, key hashing, query functions, error throwing and cancellation.

  4. Caching

    Cache lifecycle, stale vs fresh, inactive queries and garbage collection.

  5. Refetching and background updates

    Window focus refetching, background fetching indicators, polling and network mode.

  6. Mutations

    useMutation, side effects, mutation state and persistence.

  7. Query invalidation

    invalidateQueries, query matching, and invalidation after mutation.

  8. Optimistic updates

    UI-based and cache-based optimistic updates, rollback via onError and onMutate.

  9. Pagination and infinite queries

    Paginated queries, placeholder data, useInfiniteQuery, and page params.

  10. Prefetching

    Prefetching, initial data, and placeholder data.

  11. SSR and hydration

    Server rendering, dehydrate and hydrate, and streaming with Suspense.

  12. Testing

    Testing queries with isolated QueryClient and disabling retries.

Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.

All 113
↑↓ move ↵ open