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
Is pending component on root known to not work?
loader
defined on our createRootRouteWithContext
route, and were wondering, why the there defined pendingComponent
isn't used, but the defaultPendingComponent
, defined on the router is used instead.
Anyone else having this issue, or is this a known limitation?...Is there a way to pre-render certain pages as static without Start?
Automatic Route Tree Generation in ESBuild
CONTRIBUTING.md
but I had immediate build failures for the following.
```
- nx run @tanstack/router-generator:build...Search Param Zod Schema for array types with a single element?
Monorepo with multiple routers
How to hide the app layout on some routes
@tanstack/router
and loving it. There is one niche use-case that I am not able to solve, but I assume this is because I dont use the correct approach.
The general layout of our app is defined in routes/__root.tsx
similar to this much simplified example:
```tsx
<SetupContext>...How to Clear Multiple Routes from Navigation History in TanStack Router
/account/networks
- navigate({ to: "/account/networks/search" })
- navigate({ to: "/account/networks/search/join-dialog" })
- After success action, we want to return to /account/networks
...is there anything wrong with wrapping `getRouteApi(...).use<whatever>` in try/catch
Adding a dot to a route in TS Start
heartbeats.bulk
endpoint but when I rename my API route file to heartbeats.bulk.ts
the route becomes /heartbeats/bulk
. How can I go around this?Redirecting /api to homepage
/api
to the homepage. I made a routes/api/index.ts
that redirects to /
, but it doesn't seem to ever get hit. How can I fix this?Invariant failed getting loading data in child component.
Search params from layout
const navigate = useNavigate({ from: "__root__" });
const search = useSearch({ from: "__root__" });
const navigate = useNavigate({ from: "__root__" });
const search = useSearch({ from: "__root__" });
How to use VSCode breakpoints in code-split route components?

Route preloading causing an infinite loop.

code splitting file based routing doesn't work for memory history?
autoCodeSplitting: true
in vite, it turns out it doesn't work
2. i try to turn off autoCodeSplitting: false
then suffix all route with .lazy.tsx
, like from "features.tsx
to features.lazy.tsx
,still doesn't work
3. i try to make it into 2 files, from features.tsx
tofeatures/index.tsx
and features/index.lazy.tsx
4. i also try to use lazy component: lazy(() =>import("./index.lazy").then((mod) => ({ default: mod.BlogAds })))
, still doesn't work
...Link component not needing params for a dynamic route and working correctly!
Route typesafety isn't working
masked subroute in file based routing
/filters
or /?show_filters
that shows the filter drawer. however, i want to mask the route. https://tanstack.com/router/latest/docs/framework/react/guide/route-masking
i can't seem to figure out how to set it up as a sub route (index.filters.tsx
has router set the path to /index/filters
)...invalidate data in router context
Is it possible to render the notFoundComponent inside of my auth only layout?