9 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
61
views
How can I perform SSR with Tanstack Start
I've been following the documentations in Tanstack Start on Selective SSR. However I can't get it to run. I tried to inspect the page source, but it always shows the javascript instead of the server-...
-1
votes
1
answer
617
views
Trying to dockerize TanStack application
I am following hosting docs for TanStack Start with Nitro hosting in order to dockerize the app.
So, in the docs there is instrution to get nitro-nightly package
npm i nitro-nightly
After that, code ...
2
votes
1
answer
79
views
Can not use staticFunctionMiddleware to implement Static Server Functions
I am trying to follow docs on TanStack Start, as every other day :) Today I was studying Static Server Functions and there example is given:
import { createServerFn } from '@tanstack/react-start'
...
0
votes
1
answer
735
views
What is the use case for TanStack Start useServerFn hook
I am currently exploring TanStack Start (with React).
At What are Server Functions? page we have example of server function that can be used with useQuery (from TanStack Query, to fetch data from ...
3
votes
0
answers
180
views
"Sr is not a function" when deploying Tanstack Start app using Relay on Cloudflare Workers
Edit Sep 26: I just ended using Netlify for now. Maybe the new RC version of Tanstack Start would work out.
Running vite build succeeds, but opening any page fails with the Sr is not a function error. ...
3
votes
1
answer
1k
views
React Tanstack Start/Router: Where do I put providers?
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 ...
1
vote
1
answer
157
views
Cannot import @apollo/client in Vinxi/Vite/Tanstack Start
The following line works fine in the browser and in Bun:
import { ApolloProvider } from "@apollo/client";
but when I run it in SSR (inside Tanstack Start / Vite / Vinxi) I get an error ...
2
votes
2
answers
724
views
How do you change the port for a TanStack Start app?
I would like to update the port that my app is running on but the TanStack Start [defineConfig][1] method doesn't seem to expose that like a normal Vite config does. Here is my app.config.ts:
import { ...
3
votes
1
answer
233
views
How do I stop TanStack Start from creating app.config.timestamp files?
I am using TanStack Start with this app.config.ts:
import { defineConfig } from '@tanstack/react-start/config'
import tsConfigPaths from 'vite-tsconfig-paths'
import tailwindcss from "@...