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
Where are beforeLoad and loader executed?
Why defaultPendingMs defaults to 1000ms?
File based nested routes not working as expected
Getting current routeId
App unmounts on page navigation
createRootRouteWithContext seems like <Outlet /> gets remounted each time. I hit this issue with Convex Auth, so I tried to write my own Provider with Supabase and noticed same issue.
It results in disappearance of shared components like <AppSidebar /> and re-checking auth each time page navigation happens.
_authed.tsx:
```tsx...`beforeLoad` not called for pathless route
_authenticated.tsx with a beforeLoad function but it's never called. Is this by design or may it be a bug? Child routes' beforeLoad of this pathless route is called, so I'm sure I'm not throwing something in the pathless parent beforeLoad.How do I get `<base href='...' />` to the top of the head document returned by createRootRoute?
Run callback when someone exit the page
How to read request object for a route?
Are there plans to support react 19?
Redirect routing to correct route from bun
Where search validation happens?
How to refetch/invalidate router data?
useRouterData?Help! 30 seconds to first paint
"Error: Invariant failed: Could not find match for from: /posts" + "Error preloading route! ☝"
/post/$postId route from /posts while the fetch with $postId is not yet finished. This warning is not displayed at all when I don't simulate the viewports. I've tested this on multiple viewports but the warning is displayed every time. Everything seems to be working just fine but I'm not sure if it's safe to ignore this warning or not.
Here's the minimal reproduction link: https://stackblitz.com/edit/tanstack-router-ijhtsvaj?file=src%2Froutes%2Fposts_.%24postId.tsx. I've made minimal changes to posts_.$postId.tsx, and I've increased the sleep in postQueryOptions to 2000ms. You'll have to open the preview in new tab to see the console.
I've also added a video showcasing the problem to make it simpler to understand 🫡...
staticData on a lazy route
useMatches and staticData on my routes. Everything is ok until I want to use lazy route with createLazyFileRoute which doesn't allow staticData to be passed.
I would like to know if there's an alternative to using staticData to achieve what I want to do, or if I need to stay on non lazy routes....[vite] Internal server error: [...]routeTree.gen.ts:28:1: ERROR: Expected identifier but found "/"
__root.tsx, about.lazy.tsx, index.lazy.tsx, main.tsx....can i have multiple Pathless Route Group Directories at the same level, each with a layout inside?
[iOS] Page swipe issues when beforeLoad runs an async fetch
will the vite server generate the routeTree if I've deleted it