Next Tanstack Query

Use when reading or writing data in a Next.js App Router app with TanStack Query — a data fetch or mutation, prefetching for a route, hydrating a client query, a form or dialog that submits, an optimistic update, or cache invalidation after a write. Use when the user says "fetch X", "load data for", "prefetch", "hydrate", "table blanks when I search", "mutate", "submit form", "optimistic update", "toast on success", "invalidate cache after a write", or "rollback on error".

encurehq Updated

File contents

encurehq/skills commit 9c4289e296

Frequently asked questions

npx get-skill add encurehq/next-tanstack-query