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 it possible to filter the route param with Tanstack Router?
How is this auth implementation (WorkOS/Syncing to DB)
pass a “state” when using “navigate()”
How to get the available routes as a type
/, /about, /profile etc. as a type?Link component expects `search` prop when validateSearch is used in a route
Question about route conflicts
/items
- $itemId.tsx...tanstack router, tanstack query with zustand?
Routes not loading if navigated directly to it
https://supersecretDomain.com/cabina works as it should, but https://supersecretDomain.com/cabina/1 where routes is defined as /_layout/cabina/$serviceOrderId doesn't load...Loader is so slow
Can we get a layout file type for file based routing?
*.layout.tsx file type ever been considered?
So we can do something like this?...
Creating Links with has routing and search
/shipping which ends up translated to /#/shipping when we enable hash routing. In certain cases, we want a search param of shipmentId in the URL. When using hash routing, it seems that the search params have to come before the has in order to get properly extracte...Prevent router from re-mounting identical components from different paths
Nested but shared routes
What would be the "more robust solution" instead of `await sleep(1)` for authenticated routes?
authenticated-routes example. What caught me off guard is the await sleep(1) call after you log in (link). This is obviously to give React a chance to re-render so that isAuthenticated context state is up-to-date when AuthLayout's beforeLoad() is called (link).
I'm struggling to find anything better though other than a getter that would read localStorage during beforeLoad() execution but I'd still prefer to use the in-memory React state for that purpose....Path params with whitespaces
Route 404 when visiting protected routes (when deployed only)
/ I get no problem, but when I try to visit /dashboard that use a beforeLoad, I get 404, thi happens to me on vercel.
(I'm using vite+react)
```...Update from 1.48.4 to 1.51.2 broke typesafe route prop
routeTree. Here's how I accomplished that before this upgrade:
```ts...routeTree.gen.ts setting the wrong parent
[RACE CONDITION] Auth0 Redirect and Context
useNavigate() in order to redirect back to routes a user is trying to access?
I'm trying to use useAuth0 and useNavigate but RouterProvider is waiting for its context from useAuth0 and useNavigate that is being used inside of the Auth0ProviderWithRedirect needs to be within RouterProvider
Here is their example with react-router https://github.com/auth0/auth0-react/blob/main/EXAMPLES.md#protecting-a-route-in-a-react-router-dom-v6-app...[SOLVED] Is there any way to use the route named as literally "route"?
%72oute.lazy.tsx , but it seems not working. Thanks.
Here's quick implementation which explains what I tried: https://github.com/LumaKernel/hello-tanstack-react-router-1/tree/main/src/routes...