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
Accessing request object in the Route.loader
getHeader
but that causes a build error....Routes conflicting when using "@tanstack/react-start/api"
/api/$workspaceSlug/$projectSlug
And a static endpoint - /api/ai/chat
When I make a request to /api/ai/chat
, the request is going to /api/$workspaceSlug/$projectSlug
. It thinks* ai
is the workspace slug and chat
is the project slug, so it ends up returning the wrong response.
...Vinxi & Nitro
serverFn signal is always aborted on POST?
How to handle POST requests to component routes (non-api) and read the payload (form data, json)
Sharing data between `ws` implementation and `createServerFn` util
createServerFn
. My goal is to have the ability to send a websocket message from a server function. The way I've tried to do this, is to create a Map()
instance, in which I place websocket "peers", and then I'm attemting to retreive the appropriate peer from the server-side function. However, the Map isn't shared, it seems like the file where createServerFn
is located, is loaded dynamically by Start, which means the Map is always a new instance rather than being the existing one.
TL;DR on code:
- src/lib/peerManager.ts
exports a singleton export const peerManager = new PeerManager();
- src/ws.tsx
imports the singleton, handles websocket, works great...path error with static server function.
middleware for createAPIFileRoute?
Using unhead v2

Public DIR as upload files. in tanstack start
Calling TRPC directly
createCallerFactory
with tanstack start in any way in server side without tanstack server functions?redirect on error
Observability support / otel integration
TanStack Start integrates seamlessly with observability tools to provide comprehensive insights into how your application behaves in production, helping you ensure that everything runs smoothly.
Can anyone give more details around this? Looking at the reccomended sentry integration, I dont understand how its tracing anything or how to use this as a guide for writing my own integration (I would like to use datadog / otel). From what I can tell, its simply just creating a middleware that does nothing.
I would love some more information on how tanstack start integrates semlessly with observability....Using Bun functions in server functions
Client-side Loaders?
@xstate/store
which I use to keep track of some user preferences. Those preferences get persisted via cookies and loaded during beforeLoad
. What is the correct way to populate a client side store like xstate with those values from the server? I know I could:
```tsx
const { userPreferences } = Route.useLoaderData();
...Meta title and description on Tanstack Start based on route params or search query.
tauri 2.0 / vite & Tanstack
TanStack Start Blog Samples (Markdoc or the like)?
Amplify Authentication