FreeRules, agents & hooks
TypeScript, React and Node.js rules
- 174174 downloads
- 225225 likes
- 237237 saves
- Cursor
Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans
Use this resource to combine Next.js Server Components and TanStack Query v5 without client waterfalls
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install nextjs-tanstack-query-ruleFirst time: connect the CLI with
npx --yes palatekit@latest loginCursor fetches initial data in Server Components, reserves TanStack Query for client components, and prefetches the cache with HydrationBoundary to avoid waterfalls. Mutations and optimistic updates are covered too.
Mostly picked by
Updated November 2, 2026
You say
“Add the message list with server prefetching and an optimistic update.”

Rule published by PatrickJS under the CC0-1.0 license, delivered in its original version.
Listed unmodified
« nextjs-tanstack-query-cursorrules-prompt-file » (PatrickJS, CC0-1.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.
–
No ratings yet
Loading reviews…