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
Does anyone have a minimal example with Supabase and Query?
Bug with Start-Basic (Resolved)
fsevents
and stops js from loading on the page
```
Uncaught SyntaxError: The requested module '/_build/node_modules/resolve/index.js?v=6afd501e' does not provide an export named 'default' (at app.js?v=6afd501e:3:8)...Dead code elimination
getPlayedWords
is only getting executed if that following console.log is there. The only side effect in getPlayedWords
is console logging for dev/debug purposes. Is the dead code elimination being too aggressive in this case or is this as expected?
```
export const submitMoveSF = createServerFn({ method: 'POST' })
.validator((data: { userGameId: number; tiles: TileModel[] }) => data)
.handler(async ({ data }) => {...How do I access cookies from an SSR-rendered component?
Has anyone been able to get Inngest working with TanStack Start?
import { serve } from "inngest/nitro";
import { serve } from "inngest/nitro";
trpc style router
Are there documentation examples for server functions?
getServerTime
example from https://tanstack.com/router/latest/docs/framework/react/start/server-functions#server-function-context triggers a Invariant failed: createServerFn must be called with a function that is marked with the 'use server' pragma.
error.
Is there an example app somewhere in the docs showing the correct use of server functions?
For context, I'm calling getServerTime from a react hook. My hope is to write a darkMode cookie eventually!...TanStack Start + Query + db access example
Debugging of accidental server code in the client-bundle?
Buffer is not defined
but the stacktrace does not reveal anything about where it's actually imported/used. Not sure if it's even possible to make it easier...
Also, is something like .server.ts
planned? Making sure none of the files exports are included in the client bundle?...What is the Vercel "framework preset" for Tanstack Start?

i18n
/$lang/...
whereby I get the language from logged in user / cookies / request and redirect to that the /$lang/...
equivalent route if it's different from the parameter?
Example
User navigates directly to /fr/a/b/c
but user is logged in and their language is en
. The code should redirect to /en/a/b/c
....Error: Maximum update depth exceeded while using Route.useLoaderData()
Tailwind css flickering unstyled css in tanstack start
multiple search params with same keys
404 page after deploying on Vercel

deploying server and client separately
Tanstack start debugger

Returning custom errors from createServerFn
ok: true
or ok: false
just to be able to pass any errors back to the client. This is what my nextjs solution is
```ts
// type LoginActionResponse =
// | { ok: true; data: Pick<LoginResponse, "username" | "image" | "verified"> }
// | {...Important global.css TailwindCSS might be wrong
Access environment variables inside server action
.env
file that I have put several environment variables inside. However, when I console.log(process.env)
and console.log(import.meta.env)
, I don't see any of my environment variables. Note that I don't want the variable to be public - so the solution is not to put vite_
in front of the variable name.
From the docs:
They can access sensitive information, such as environment variables, without exposing them to the client...