TanStackT
TanStack2y ago
6 replies
dangerous-fuchsia

Working on `router` though `tanstack.com`

This is more a tanstack.com question then router perhaps.

Has anyone manage to work on the router packages with a local version of both router and tanstack.com? The setup I have is this:

tanstack/
   |
   +-- router/
   |
   +-- tanstack.com/
   |
   +-- ...other tanstack repos


Which is mentioned in the https://github.com/TanStack/tanstack.com?tab=readme-ov-file#editing-and-previewing-the-docs-of-tanstack-projects-locally for editing docs.

I tried removing the underscore from the pnpm.overrides prop of the
package.json
of tanstack.com , which has file: links to .../router/react-router and so on and running pnpm run dev in both router and tanstack.com, but getting the changes in router to be reflected in tanstack.com doenstn't seem to work, and I'm now staring at hard vs soft link descriptions and having my brain melt.

For context, I'm doing all this to see if I can track down this bug (Github issue at https://github.com/TanStack/tanstack.com/issues/218) where you can't actually switch docs versions or frameworks on the live query docs at https://tanstack.com/query/latest/docs/ right now.
GitHub
The marketing and docs site for all TanStack projects - Issues · TanStack/tanstack.com
Issues · TanStack/tanstack.com
TanStack Query (FKA React Query) is often described as the missing data-fetching library for web applications, but in more technical terms, it makes fetching, caching, synchronizing and updating server state in your web applications a breeze.

Motivation
Overview | TanStack Query React Docs
GitHub
The marketing and docs site for all TanStack projects - TanStack/tanstack.com
GitHub - TanStack/tanstack.com: The marketing and docs site for all...
Was this page helpful?