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
useMatchRoute but don't re-render on every state change
How to create a child route of an index route?
/) and have a child route at /verify that renders a modal. Is there a way to achieve that using file-based routing?Loosing type safety when wrapping <Link>
<Link to="/invalid"> and I don't like that I loose the type safety.
```tsx
import { Link } from "@tanstack/react-router";
import clsx from "clsx";...Different routes based auth status
Is there a way to get proper search params in navigate without a specific route
/dashboard route has a modal engine that's basically just a discriminated union of different modal types. Using that I am rendering different types of modals
```ts
// def...Handle notFound in a component
notFound component in a route component (not the loader)? I won't know specifically if the page is a 404 until the query finishes, as I am in an $id route and querying for that specific item. I'd like to throw notFound if the query returns null....Index route not loading by default
__root.tsx file and an index.tsx (basically following the tutorial)
This works fine in dev mode, but when I do a production build, the app loads with a not found. In the tanstack dev tools, The matcher is only matching on __root__ so the <Outlet /> is rendering Not Found.
When I click on the "Home" link, it routes to the correct place and everything is fine.
...
Invariant Failed: _authed to _non-authed Route
Why does `useLocation` re-render before navigation?
Has <Link to="." ... /> changed recently? I used to be able to update search this way.
useRouterState and dump its respective state's pathname in. Here's an example of the workaround ā <MenuItem /> is a lightweight wrapper around <Link/>.The following used to work with
to="."
```...I18next Suspense mode with TSR
Dynamic Route Generation with TanStack Router for External Components
I aim to create a component that can be imported as a package and included in a route, which will then generate its own nested routes. For instance, when adding an editor component, it should automatically support the paths it comes with. Here is my typical setup using React Router: ...
Why does my form default value not re-render?
How can I design typesafe callback urls?
How to handle authentication (get session data)
Has anyone gotten TanStack Router/Start to work on Cloudflare Worker with bindings (NOT PAGES)
Nested layouts work in flat but not directory based syntax
Vitest renders App but not the Outlet content for "/"
Link + Pagination + Search Prop + Shadcn/UI
a element from PaginationLink with Link from @tanstack/react-router....
advice on filesystem routing
posts/ with a layout.tsx and then also index.tsx and $postId.tsx. not having everything post-related contained within the posts directory itslef feels confusing to me.