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

adverse-sapphire
adverse-sapphire6/13/2025

Is there anyway use an index.js rather than .mjs as an entry?

It doesn’t seem like there is any control over the build files??
other-emerald
other-emerald6/13/2025

Best way to get path slug in createServerFn?

I have a server function that needs to get the projectId from my path /dashboard/project/1 At the moment I am using react-query and I am getting the projectId from the cliente with useParams and passing the id as a data parameter to the server function. But I would like to know if there is a better way....
adverse-sapphire
adverse-sapphire6/13/2025

gitignore recommendation for generated folders

Trying Start for the first time, I see building produces a .nitro, .output, and .tanstack folders. Which of these if any should I check into the git repo? My inclination is none of them, but just want to double check.
ambitious-aqua
ambitious-aqua6/13/2025

i18n

Hello, I would like to know what solutions for i18n are working with TanStack Start and how do you set them up.
flat-fuchsia
flat-fuchsia6/13/2025

Server routes are imported on the client

Hello, I've been trying to migrate to devinxi version, but I've got an error while imporing a server-side module only (sharp). Apparently, client.tsx actually imports server routes (client import router -> router imports routeTree.gen.ts -> routeTree.gen.ts imports server modules (API)). ...
variable-lime
variable-lime6/13/2025

Datadog tracing

Curious if anyone has managed to set up a good datadog tracing solution for TSS?
sensitive-blue
sensitive-blue6/13/2025

Experience in deploying to Cloudflare?

Hi guys, I am currently hosting my TanStack Start app on Vercel - but I see a lot of people suggesting Cloudflare. Do any here actually host it on Cloudflare? If so, Why? Do you use Cloudflare workers?...
correct-apricot
correct-apricot6/13/2025

Tanstack Start ( Devinx ) how configure PWA ?

Hello guys, I know we have the PWA question before but I am curious how we can implement that after merge the Devinx branch to main. Someone tried ? Can we use PWA Vite Plugin https://vite-pwa-org.netlify.app/ ?...
conscious-sapphire
conscious-sapphire6/12/2025

Is there a way to make a ServerFileRoute for a path that starts with a dot?

For example, I would like to handle queries to .well-known/*.
sensitive-blue
sensitive-blue6/12/2025

Benefits of using tPRC when we have createServerFn()

The title says it all, i am curious to if there are any real benefits of using tRPC with TanStacj Start - since it already offers server actions that are easily integrated with Tanstack Query. What are your views on this?...
stuck-chocolate
stuck-chocolate6/12/2025

SSR and Streaming

I can't clearly find information about tanstack start's capability to stream outlets with suspense. Is it possible? What if I want to render preloading icon in particular island of UI and show every peace as soon as it loaded on server? Also how to split client and server code properly?
absent-sapphire
absent-sapphire6/12/2025

Pre-render static parts of each route

Love Tanstack Start so far ! I’ve just got a question — coming from nextjs, i wonder if it’s possible with start to pre-render static routes & also only the static parts of dynamic routes, like what they’re doing with the experimental dynamic io & suspense ? If not yet, is it in the roadmap ?...
conventional-tan
conventional-tan6/12/2025

solid start tailwind fouc

Hi, what is the correct way of installing tailwind with tastack solid start, I think I have tried everything described here https://discord.com/channels/719702312431386674/1380826552039637073 and all configurations with "@tailwindcss/vite" and without. This config seems to be alpha branch because it is using src folder: https://github.com/TanStack/router/blob/main/examples/solid/start-basic/package.json but I'm getting error from print screen, so for me the situation is that at worst im getting...
No description
protestant-coral
protestant-coral6/12/2025

SSR and Static Generation In latest Version? 1.121

Since updating to this version, it seems we have ditched app.config.ts in favoure of a vite.config.ts However, all of the commented stuff is now invalid and doesn't work: ```ts...
sensitive-blue
sensitive-blue6/11/2025

Local development not working after upgrade to newest 1.121

When i run my local setup this is what my console shows: $ vite dev --port 3000 Generated route tree in 167ms ...
genetic-orange
genetic-orange6/11/2025

Devinxi Config File

I am working to migrate over to the latest release of TSS and wanted some guidance on how to migrate over my config to the vite config. Here is my app.config.ts. I am using a basepath and it includes some work arounds for having assets be on the basepath. It seems like the server and routers config do not seem to fit on the new TSS config. Any help would be nice. ```const config = defineConfig({ vite: {...
sensitive-blue
sensitive-blue6/11/2025

CSS import error after upgrading Tanstack Start & Router to 1.121.0

I am getting this import error when importing the app.css file. Happend after the upgrade. This is my vite.config.ts:...
No description
absent-sapphire
absent-sapphire6/11/2025

<Script> equivalent in TSS?

I'm trying to integrate a new feature board / feedback widget from another product. They don't have a TSS example so I was looking at their nextjs example. Does TSS have a https://nextjs.org/docs/app/api-reference/components/script equivalent?...
ratty-blush
ratty-blush6/11/2025

Using sockets tanstack start

does anyone know how to access serverFn specific context within vite plugins i wanna pass context via a vite plugin (to allow my serverFn to have access to socket.io) I have the socket.io server working and that just need to figure out how to tie that into tanstack starts context. I currently have this which might do a beter job at explaining it https://github.com/nick22985/tanstsackstart-socketio...
genetic-orange
genetic-orange6/11/2025

build error after latest dependencies installation.

after bun install the depencies i'm getting this error from app.config.ts ``` { "name": "ttt",...
No description