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

blank-aquamarine
blank-aquamarine9/26/2025

Deploying on netlify and am getting error

The build went fine, but when I opened the app ```ts import { H3Event, toResponse } from "h3"; ^^^^^^^^^^...
wise-white
wise-white9/26/2025

[RC] ssr: false causes renderToPipeableStream error

I get this error with a simple component in a simple route. If I remove ssr prop it renders normally.
stormy-gold
stormy-gold9/26/2025

Combine SSR and Static Prerendering in the same route?

Hey everyone, I wonder how static prerendering works. I have an app where I use all the features from Router+Start. several pages, nested routes, dynamic segments, data loading, prefetching queries in loader, integration with tanstack query, suspense boundary, ... etc. ...
probable-pink
probable-pink9/25/2025

Running `vite build` doesn't create a .output folder anymore in RC

I've been able to migrate my project to RC and everything's running fine but when I tried building it, a .output folder wasn't created, but in the docs the output folder is still used. Any tips about how I can build and start my app? Here's my vite config ```ts import tailwindcss from "@tailwindcss/vite";...
wise-white
wise-white9/25/2025

Error: createServerOnlyFn() functions can only be called on the server! (After RC)

I am getting this error after the new RC: db.ts:10 Uncaught (in promise) Error: createServerOnlyFn() functions can only be called on the server! at getDatabase (db.ts:10:18) at db.ts:14:19 getDatabase @ db.ts:10...
foreign-sapphire
foreign-sapphire9/25/2025

Build failure in Tanstack devtools with Cloudflare Vite Plugin in RC

Hi all, I'm just trying out Tanstack start with Cloudflare's vite plugin in RC, and i've come to experience a build error that goes away when removing TanStackDevtools from the __root.tsx file. If I remove either the cloudflare vite plugin or TanStackDevtools, build passes....
probable-pink
probable-pink9/25/2025

Docs for serialization adapters

I can't seem to find the docs for serialization adapters. Can someone help point me towards them or perhaps a resource that could help?
other-emerald
other-emerald9/25/2025

Local dev fails after some time

Repo: https://github.com/sebastiangraz/hatchet Running npm run dev works initially with no errors, after I make a few changes and hot-reloads I get the following error and my localhost:3000 disconnects fully, I have to reconnect every 2-3 hmr changes, not ideal. ```...
grumpy-cyan
grumpy-cyan9/25/2025

How can i return a custom header from a loader?

In remix, we have data util that allows to return data with custom headers. Do we have the same thing in tanstack start?
like-gold
like-gold9/25/2025

Clerk fix for 1.132

with the new release of 1.132, has anyone worked out a hack/hotfix for clerk which can be put in place to keep going with that whilst that package is updated? Trying to get the server.ts working. ```...
foreign-sapphire
foreign-sapphire9/25/2025

Is zodValidator still necessary?

I haven't been using it for a while now. But I still reference to in the docs. Does it provide any feature/benefit?
compatible-crimson
compatible-crimson9/24/2025

Server functions using vite-plugin-node-polyfills's shim for 'process' instead of 'node:process'

https://gist.github.com/ivanfeli/20114db6202124265bc9f49100b88b7e Extract from the built file (.output/server/chunks/_/__root-BdAHKAt1.mjs): ``` import process from 'vite-plugin-node-polyfills/shims/process';...
stormy-gold
stormy-gold9/24/2025

RC migration

I've had so many errors migrating to RC. Should I just not upgrade? Are there seriously no migration docs other than this measly one? (https://github.com/TanStack/router/discussions/2863)? Suuuper frustrating. Wasted an afternoon on it. What's the general recommendation here, is it not to upgrade at all until it goes stable? The messaging has been that RC is very close to what the stable release will be, are we not supposed to upgrade our applications yet?...
like-gold
like-gold9/24/2025

Errors after updating to 1.132 from 1.131

Hi, are there some issues with the latest releases? Was on 1.131 and just upgraded to the following ``` "@tanstack/react-router": "^1.132.2", "@tanstack/react-start": "^1.132.2",...
absent-sapphire
absent-sapphire9/24/2025

building for production

after updating to RC can't seem to run the build output in dist tried running the basic example with the command node dist/server/server.js and process exists with no message edit: also it seems vite wont longer load env variables from .env...
fair-rose
fair-rose9/24/2025

createStartHandler — breaking change in RC?

Hi! It looked like the signature of createStartHandler was changed in the RC released. Previously it was...
national-gold
national-gold9/24/2025

Implicit "any" after RC upgrade

Anyone having issues with loader data being "any" after upgrading to RC? I got around it by setting "noImplicitAny:false" in tsconfig for now...
No description
like-gold
like-gold9/24/2025

Serving in production via Bun

What is the right way to serve the application in production via Bun in the new RC? Should we write our own handler with Bun.serve() now?...
wise-white
wise-white9/24/2025

RC Cloudflare Vite - Environment Variables

Hey there, Followed the guide. Currently struggling as apparently the environment variables are not filled properly locally. Wrangler Types generates them, so it finds it. So somehow related to the vite integration I assume 🤷🏼‍♂️😅...
provincial-silver
provincial-silver9/24/2025

Proper way return responses from request middleware

if (!signature) {
throw new Response('Missing signature', { status: 400 })
}
if (!signature) {
throw new Response('Missing signature', { status: 400 })
}
...