react-query-questions
solid-query-questions
table-questions
virtual-questions
router-questions
react-charts-questions
ranger-questions
vue-query-questions
svelte-query-questions
bling-questions
form-questions
angular-query-questions
start-questions
db-questions
start-showcase
router-showcase
📣-announcements
How to unit test individual components that rely on routerState?
useMatchRoute.
Unfortunately I'm met with
```
TypeError: Cannot read properties of null (reading '__store')...is there a way to create a reusable <Link /> component?
to prop so i have autocompletion for routesAdding a locale to every path
<basename>/en/<route>. The way they're doing this currently is by manually checking then adjusting window.location.pathname on every page load via an event listener. The locale is stored on the window object. If the locale changes, it hits an API for new translations then updates the stored value & so on.
I don't really want this: I just want a declarative method of prefixing the pathname with the locale, and I can handle storing the value. User goes to mysite.com, url visible is mysite.com/en, user goes to login, mysite.com/en/login etc etc.
Route masking seems close, but almost seems the inverse of what I need. Can anyone give any advice on how I'd set this up?...Is there a simple way to navigate "one level up" in the tree?
/posts/$postId/edit, what's the simplest way to navigate up to /posts/$postId? I could of course get the $postId variable and build the url myself. But it would be nice if there's something like a navigate.up() function.How to put default search params?
Generate URL from navigate({ to, params & search })?
Default children route
/offices/$id/edit
This root as 3 children roots:
```ts...Circular import
TakeHomeDetail and takeHomeDetailsRoute to separate files. However the route is used in the useParams call in the component and the component is used directly in the route which would cause a circular import. Does anyone know of a solution for this?
Login is startup route
Infinite query + loader
ensureQueryData is used, but there is no ensureInfiniteQueryData. Is the alternative to do prefetchInfiniteQuery or is there something more appropriate?will tanstack router be good for creating a offline first pwa vite+react app?
File based lazy routes throwing ReferenceError in routeTree.gen file leading to app crash
pnpm dev to my surprise I got a bank page. When I opened the console I noticed there was an reference error thrown in routeTree.gen.ts file.
package.json
```
"dependencies": {...
Default route with Electron after build

context of auth not persisting on browser refresh on route beforeLoad
useSuspenseQuery fails (suspended while responding to synchronous input)
A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.
The error is happening on initial load so adding startTransition isn't an option. I thought it may be related to not having a Suspense boundary, but I've looked all through the example and I don't see an explicit <Suspense/> boundary in it either....
queryClient in context, type not inferred
main.tsx
```tsx
const router = createRouter({...
useNavgate ignore basepath
how does deduping works in tanstack router
