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 9c4289e 9 files · 22.9 KB Updated

File contents

encurehq/skills/tree/main/skills/next-tanstack-query commit 9c4289e296

Frequently asked questions

npx skillmds@latest add encurehq/next-tanstack-query