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
Hydration error when streaming data from data loader
TRPC with ensureQueryData/Prefetch

`createServerFn` Zod validation works, but TS doesn’t catch invalid params at callsite?
@tanstack/react-start
with Zod validation to define sendEmailFn
. Everything works at runtime (thanks to .validator(...)
), but TypeScript doesn't enforce the parameter shape when calling sendEmailFn()
—I can omit fields or add invalid ones, and TS doesn’t complain. Only Zod throws at runtime. Why isn't TypeScript checking the input types at compile-time?
Example code
```
import { createServerFn } from '@tanstack/react-start';...vite-pwa plugin does not work in production builds
How do i read auth tokens during http request with axios?
A server function that is not available in production
import.meta.DEV && customPlugin
to force it to only be added in dev, but after buliding the app I can still seed the server function in the bundle....prevent db module going to client
This module cannot be imported from a Client Component module. It should only be used from a Server Component.
This module cannot be imported from a Client Component module. It should only be used from a Server Component.
How do I disable <StrictMode /> during development?
Resend email not working with TanStack Start
using createIsomorphicFn how can i get router context?
Non-serializable data across server/client boundary
return JSON.parse(JSON.stringify(response))
but then i lose type safety...Cold start with netlify
How to properly redirect client-side
Resend with TanStack Start
UI Elements stop working w/ beforeLoad
How to kill an SSE stream when the page is exited gracefully
cookie issue in production
Deduping function calls on the server?
getSession
function that I'm calling in several serverFns in the same SSR pass, and I'd like it to be invoked only once.
I tried to create a cache on the request, i.e. sessionCache.get(getWebRequest())
, but seems like the returned request does not have a stable identity.
Is there anything else unique to cache by that will hold across a whole SSR pass?...how do you build tanstack start for aws-lambda?
preset: 'aws-lambda'
property, but now that im using vite
im not sure how to configure this.