Whetstone

Data Fetching with TanStack

The TanStack Query v5 API for server state — query keys as cache identity, reading a query's states over time, invalidating and writing the cache, mutations and optimistic updates — plus TanStack Router v1's typed routes, validated search params and loaders that fill the query cache before render.

  1. 1. Query keys: the cache's identity

    Full · Core · ~30 min
    • Caching
    • TanStack Query
    • Query Keys
  2. 2. Query states: pending, fetching, stale and gone

    Full · Core · ~35 min
    • Caching
    • Data Fetching
    • TanStack Query
  3. 3. Invalidation & cache writes

    Full · Core · ~35 min
    • Caching
    • TanStack Query
    • Query Keys
  4. 4. Mutations: writes, callbacks and the cache

    Full · Core · ~35 min
    • TanStack Query
    • Mutations
  5. 5. Optimistic updates and their races

    Full · Advanced · ~40 min
    • TanStack Query
    • Optimistic Updates
  6. 6. TanStack Router: typed routes, search state and loaders

    Full · Advanced · ~40 min
    • Data Fetching
    • TanStack Router
    • TanStack Query