Skip to main content
0 votes
1 answer
46 views

I'm using @tanstack/zod-adapter for parsing path params: export const Route = createFileRoute( "/route/$one/$two/$three", )({ params: zodValidator( z.object({ one: z.number(), ...
Talorcan's user avatar
0 votes
0 answers
86 views

I'm currently implementing a plugin system in my application using single-spa and file-based tanstack routing. One of this issue I'm facing is that I need to share routing context between my app and ...
Julien FEGER's user avatar
-1 votes
1 answer
73 views

Let we have directory structure: -> routes --> $a.$b.$c.tsx --> a.$b.$c.tsx --> a.b.$c.tsx is this valid file based routes configuration? Compiler say that is not, because tanstack-...
Oleg's user avatar
  • 694
5 votes
0 answers
312 views

Problem I have a route structure where I want most authenticated routes to use a shared _authenticated layout, but I need the settings page to use its own custom layout instead of inheriting the ...
Joynal Bin Tofajjal's user avatar
1 vote
1 answer
384 views

I am trying to use tanstack router in my react+python monorepo where I have replaced eslint and prettier with biome and react router with tanstack router. I know realized since tanstack router offers ...
Mushood Hanif's user avatar
0 votes
0 answers
308 views

How to Properly Hydrate a TanStack Router + Vite SSR App Without Using TanStack Start? I'm trying to implement server-side rendering (SSR) in a TanStack Router + Vite React project without using ...
Mikołaj Paterek's user avatar
3 votes
1 answer
2k views

I created a new app using this starter code from Tanstack Start/Router, and I'm unsure how to put in React Providers. There is no ReactDOM.render call anywhere that the App component is rendered, and ...
redOctober13's user avatar
  • 4,086
1 vote
1 answer
850 views

I'm using React with Vite and Tanstack Router. To make use of relative paths I added this to the Vite config base: "./", I was told the app was deployed on a Apache server under /company/the-...
baitendbidz's user avatar
  • 1,039
0 votes
0 answers
242 views

Try to use @originjs/vite-plugin-federation in tanstack-start application, but it throw an error while importing remote component like "Error in renderToPipeableStream: Error [...
Артем Елизаров's user avatar
0 votes
1 answer
2k views

Question I'm using Tanstack Router and Tanstack Start and I'm wondering if there's a way to do something like: const path = buildPath({ to: "/$lang/posts/$id", params: { lang, id }}); so ...
sh03's user avatar
  • 76.6k
1 vote
1 answer
67 views

import type {Route} from "@tanstack/react-router"; import {Route as MeRoute} from '@/app/(start)/me/index.tsx' import {Route as MessageRoute} from '@/app/(start)/message/index.tsx' ...
SageJustus's user avatar
  • 1,212
1 vote
0 answers
242 views

I'm using tanstack with a react app and am testing the Await component with a promise. I'm following the guide here: https://tanstack.com/router/v1/docs/framework/react/guide/deferred-data-loading ...
mikeb's user avatar
  • 11.5k
2 votes
0 answers
486 views

I have the following route setup for the main page of my website: export const Route = createFileRoute("/")({ component: HomePage, beforeLoad: async () => { try { const ...
FlyingFish's user avatar
1 vote
0 answers
1k views

Alright so the goal I had was to create an auth layer that would manage the state and protected routes globally for my vite project. I am using jwt tokens and I want to create a smooth and optimized ...
Karan Hathwar's user avatar
0 votes
1 answer
59 views

I am encountering an issue while trying to retrieve the Google ID using Router.useSearch() with TanStack Router. After Google authentication via Passport.js, I am passing the email and Google ID using ...
Samiul Karim's user avatar

15 30 50 per page