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
Access Search Params from Head
Issue with Route masking
NotFoundComponent defined at the route level not rendering.
Optional path params with groups
({-$locale})
similar to the advanced i18n with route groups example, but it's not matching /test/about like it does when the folder is named {-$locale}
.
Am I misunderstanding how ({-$locale})
works in route groups?...Is it possible for a parent route to wait for all of its children loaders?
How to load more than one external resource in loader with React Query?
Automatic code splitting causing route files to import from my entry point (circular)
Typing the `location` in the `loader` function in `createFileRoute`.
Specify the `component` dynamically, based on route context
Generator not working with path params
/folder/$id
but it throws this error
Error: EPERM: operation not permitted, rename
then if I restart it sets the path to /folder...Updating router context after top level App re render?
@tanstack/react-router
, that may be indicative that I'm holding it wrong. Here's the high level: I'm querying user profile information once and storing it in a Context
to avoid having to drill it throughout my whole application. For onboarding, I have a route that submits the requisite data to the onboarding endpoint, which sets the onboardingRequired
flag to false
in the backend. I'm hoping then to coordinate re-fetching the user profile (and triggering a re-render of the whole app, which is OK).
The issue is that I have a pathless _login
route that enforces users are logged in for all child routes. In _login
's beforeLoad
, I check for onboardingRequired
and redirect to the onboarding route as required. However, after the onboarding form is submitted, the following actions are performed:...Blocker function

Google Chrome crashing when interacting with forms
Is there a way to `navigate` or go `back` when the next location matches the previous location?
back
to clean up the history stack.
The implementation we have is to track the last location with useLocation
and intercept calls to navigate
and use history.back
instead but it requires:
- interpolating the NavigateOptions
like to
, params
, ...
- tracking the last location with useLocation
and an effect...Code-splitting issue
1.121.2
(ok) and 1.121.12
(ko). Looking a little at which chunks remain, it looks like only the stuff we code-split manually (not through tanstack) is now emitted as a separate chunk, and everything else is in the main chunk.
I'm attaching a visualization (done w/ rollup-plugin-visualizer
) of the before and after. It's about a 5x increase in gzipped size....
[TanStack Router] SSR import error
link preload in layout not reacting to url
Performance issue w/ `parsePathname` in `path.ts`
path.ts
where the parsePathname
function takes a lot of time (and is called a lot).
Here's a performance trace from the chrome devtools on a staging build (not local dev, just to be sure I'm measuring something prod-like)....
set defaultViewTransition to false when search params are updating.