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 build a routed React SPA with TanStack Router and TanStack Query
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install tanstack-router-query-spa-ruleFirst time: connect the CLI with
npx --yes palatekit@latest loginCursor applies these guidelines to React projects built with Vite: TanStack Router handles routes and the URL, TanStack Query handles server data, and loaders prefetch the cache before render to avoid route-level spinners. Query definitions go in queries/ and API calls in api/.
Mostly picked by
Updated November 2, 2026
You say
“Add an article detail page prefetched by its loader.”

Rule published by PatrickJS under the CC0-1.0 license, delivered in its original version.
Listed unmodified
« react-tanstack-router-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…