TanStack

T

TanStack

TanStack is a community of passionate software engineers striving for high-quality, open-source software for web devs

Join

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

typical-coral
typical-coral7/16/2025

Logging

How can I disable logging for requests to the assets folder in TanStack Start? Currently, a single request generates multiple log entries for assets, which clutters the output and maybe rack up bills. What's the idiomatic approach to configuring logging in TanStack Start? Or is this outside the framework's scope and should be handled differently?...
No description
adverse-sapphire
adverse-sapphire7/16/2025

Public folder not serving files from .output/public in build

So i build my app. I have files in .output/public/screenshots/1ed4ce43-947c-4552-a4f4-8c0c43addae7-1752632689337.png when i go to it just says does not exists this works in dev with /public folder: http://localhost:3000/screenshots/1ed4ce43-947c-4552-a4f4-8c0c43addae7-1752632689337.png these assets are generated after the build / their from previous build. Is their something i am doing wrong here?...
quickest-silver
quickest-silver7/15/2025

Dynamic routing not accessible

Hi all I have a problem when building my routes. I followed the documentation and organized my routes as shown in the figure. When I access this route, it jumps to the parent route, and in the devtools, this route does not show the jump button. Has anyone encountered this problem? I can't find the answer in the documentation....
No description
quickest-silver
quickest-silver7/15/2025

Caching server Functions?

Hello, To cache some server functions in my tanstack Start app I do this: the server function:...
inland-turquoise
inland-turquoise7/15/2025

Should context work the same in client and server mode?

I think this might be a bug, or maybe im not understanding how context works. I'm overriding the context on a "loader" function, to render breadcrumbs. This works fine server side, but fails client side....
plain-purple
plain-purple7/15/2025

Route layout rendering

I have made my whole app by default ssr false ``` export function createRouter() { if (posthog && typeof window !== "undefined") { posthog.init(import.meta.env.VITE_POSTHOG_KEY, {...
inland-turquoise
inland-turquoise7/15/2025

Error on navigation

Hi folks, I'm having some issues "sometimes" between navigation. Any clue? The error message doesn't give me enough clues to see what's happening
No description
wise-white
wise-white7/14/2025

Any timelime estimation for v1?

Hello! On GitHub we can find this roadmap. Does it mean, that when all in progres and backlog tasks are done, we got to v1? Any estimations about how soon v1 will be released?...
No description
inland-turquoise
inland-turquoise7/14/2025

Adding defaultSsr can't override it

Hi, I'm migrating mi app from tanstack router => tanstack start. I can't migrate all of them at once, this is just a POC for us. I've added defaultSsr : false and then in the poc page I've added ssr : true but it doesn't make the page SSR....
No description
probable-pink
probable-pink7/14/2025

Error reading routerStream

After I have updated to latest versions of Start, this error came up, and somehow even after downgrading back to 1.125.4, it is still there: ```sh VITE v6.3.5 ready in 2643 ms ...
adverse-sapphire
adverse-sapphire7/14/2025

How to get framer motion working on server routes?

I have an entry animation when you open the page (not on page transitions). It is never executed and idles in the initial state. Has anyone ever come across this and fixed it....
optimistic-gold
optimistic-gold7/14/2025

RouterProvider error after devinxi

hey! im updating from 1.119.0 to 1.127.3. and getting this error Warning: useRouter must be used inside a <RouterProvider> component! more details after...
unwilling-turquoise
unwilling-turquoise7/13/2025

Handle persisted state

Hey everyone! šŸ‘‹ I'm trying to implement persistent sidebar state using cookies in Tanstack Start to avoid hydration flashes. I need to read a cookie value during SSR...
stormy-gold
stormy-gold7/13/2025

"Attempted to assign to readonly property" at vite build?

In a bun-driven project, set at Tanstack Start, Router 1.121.41 and react-query 5.80.47, after a reset deleting node_modules, bun.lock and then installing again, when running bunx --bun vite build (which has worked fine since 5 weeks ago) I get this error below. Also tried with npm, npx and so on. Anyone else seen something similar or have some pointers on this problem that I believe involves packaging? I finally went back to a 5 days old project version (full folder) and this worked as expected until the reset, install and build, so appears to be out of my hands, except I might've missed updating my configurations. ...
molecular-blue
molecular-blue7/13/2025

Idiomatic ways to handle route-guarding

This doc led me to using router contexts to be able to pass authentication context to the router https://tanstack.com/router/v1/docs/framework/react/guide/authenticated-routes#authentication-using-react-contexthooks However I'm running into an issue. Here's my route: ```tsx...
ratty-blush
ratty-blush7/13/2025

tailwindcss wont work unless use cdn

Hello everyone! Just started with "start". Try to hookup tailwindcss using guid - did not work. If use script with cdn it is working. Use Cursor agent to figure out - agent is dummy:) sorry Cursor! Did anyone have had any problems with it? P.S. For experiment: use v4 first, then switch to v3... - same thing. If check resulting html: body had tailwind classes applied......
like-gold
like-gold7/12/2025

Server function info not found

Running into a strange bug today. All of my server functions are getting the following error all of the sudden. I haven't changed anything since I last worked on my project. All the failing server functions follow the pictured pattern.
No description
constant-blue
constant-blue7/12/2025

@vitejs/plugin-react-oxc with the react compiler?

Hello, does anyone know if I can activate the new react compiler with @vitejs/plugin-react-oxc?
conscious-sapphire
conscious-sapphire7/12/2025

Can I call createServerFn inside another function or does it have to be used in module scope?

Title! This is regarding a helper function I’d like to make. But I understand the compile process probably means it has to be used only at top level. Thanks
national-gold
national-gold7/12/2025

Clerk's getToken({template: "convex"}) add significant delay to page load

Hello. I'm trying to use Convex in an app built with TanStack Start + Clerk. I followed the documentation and examples, and everything seems to work, but now navigating to pages takes too long. After debugging a bit, I found out that the delay on page loading is being introduced by the call to get the token from Clerk. I'm talking about the const token = await auth.getToken({ template: 'convex' }) in the following code: ```ts...