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
redirecting in beforeLoader changes url but not the mounted component
Setting up a keylogging component to navigate to specific section of site
Warning: useRouter must be used inside a <RouterProvider> component! this is how I mount everything ```ts
function InnerApp() {
const auth = useAuth();...Multiple root routers with file based routing
`loader` function doesn't have access to `context` after being redirected to
loader function. If it errors, I throw redirect to another route. That route, however, doesn't seem to have access to the context in its loader function.
routes/offers.tsx
```
......How to type LazyRoute with code-based splitting?
Unsafe return of typePromise<any>from function with return typePromise<LazyRoute<any>>.eslint@typescript-eslint/no-unsafe-return...
ActiveOptions matcher fn
I have an invoices route in my sidebar with additional options to filter the invoice by status. When I search the invoices, the 'search' searchParam is updated which removes the active state on route....

useId use
How Smelly Is It To Add Components to Router Context?
Website broken? (only https://tanstack.com/router/latest)
How to get typed routeMatch
How to check for a hash match
to option in a layout
typescript performance issues
How to create a "root" layout?
__root.tsx file as well as an _layout.tsx file in the root of the /routes directory, such as in the Kitchen Sink example https://tanstack.com/router/latest/docs/framework/react/examples/kitchen-sink-react-query-file-based
Based on my understanding of the _layout routes, I was expecting the JSX in /routes/_layout.tsx to be rendered by the __root Outlet even on the index page, but that doesnt seem to be the case.
Am I correct in assuming that code from /routes/_layout.tsx file will only render for nested routes and wont actually apply to the root? In other words, the only components that will match on the root are whatever is in /routes/__root.tsx and /routes/index.tsx?...Issue with Electron & vite & tanstack
monorepo setup
.d.ts files. Now our setup is roughly like this:
```...to value is not assignable since upgrade.
Error on `beforeLoad` return
beforeLoad function. Its not clear to me why, but sometimes (especially when running in Safari on mobile) there is an error. Refreshing the page always fixes the problem. However, my main issue is that the error message is:
```
Unhandled Promise Rejection: [object Object]
(anonymous function) - router.ts:1613...route.to not matching ToOptions
route.to no longer has the trailing / and doesn't match anything in my router.The routes still work so my assumption is that
ToOptions is the wrong type to use here as it expects the trailing / where route.to trims this slash....
Nested Folder Index Routes