Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Server data with TanStack Query v1.0.0

Use this resource to fetch, cache and update server data in React

New

  • 328 downloads
  • 227 likes
  • 170 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install tanstack-query-server-data

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent sets up QueryClient, writes queries with useQuery and query keys, adds mutations with useMutation, then configures optimistic updates and refetch options. It can also add the devtools.

Mostly picked by

Updated November 2, 2026

Card for the “Server data with TanStack Query” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: setup, query keys and queryOptions
  • SKILL.md: queries, mutations, options and usage examples

Good fit for

  • Your list reloads on every visit and you want caching
  • An add button must update the list straight away

Not for

    Tags

    • tanstack
    • query
    • cache
    • react
    • server data

    About

    You say

    “Load the order list with TanStack Query, cache it for five minutes and invalidate it after an addition.”

    Card for the “Server data with TanStack Query” skill

    Skill published by tanstack-skills under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to fetch, cache and update server data in React
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • SKILL.md22 KB

    Origin and licence

    Listed unmodified

    Author
    tanstack-skills
    Source
    github.com/tanstack-skills/tanstack-skills/tree/6f5521ecbdfbfa3d54d335eba6c8b4df0b804c03/plugins/tanstack-query/skills/tanstack-query
    Licence
    MIT

    Notice

    « tanstack-query » (tanstack-skills, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.