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
tRPC + Custom Auth
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
. I'm using setCookie
from vinxi/http
, also tried with setCookie
from @tanstack/react-start/server
. Here's the function that's throwing the error:
```...Layouts and Pathless Routes

Flash of unstyled content when hosted
Changelog & Roadmap
Websocket alpha
hosting monorepo vercel
preset: 'vercel'
in the app.config.ts
file. and on vercel I have setup this configuration for the build and deployement settings
```
Build command: cd ../.. && npm run web:build
Output directory: .vercel // I tried to leave it empty but I had a 404...beforeLoad or loader called multiple times
ClerkHandler type (Clerk+Convex+TSS) error when moving to alpha branch
Hybrid SSR + SPA in TanStack Start?
getQuery not working in ServerRoutes (devinxi)
const { provider, clientID } = getQuery();
const { provider, clientID } = getQuery();
Flash Of Unstyled Content
All modules from other routes loaded
Leaking Payload CMS code into client
Type errors chaining middleware together.

Form is somehow getting server rendered? RHF
throw redirect() not working in loader.

Load a static file in top-level directory dynamically with environment variables
.well-known
that needs to have some values changed within it based on environment variables. I tried using API routes to serve this file, but I can not have it prefixed by /api
for this to work.
Is there a way to add on a Nitro handler for this behavior? I have been looking through questions, closest thing I have seen is for dynamic values for a Content Security Policy but nothing on explicitly serving a JSON file that has dynamically changing keys....APIRoute update function is undefined causing vite SSR to throw exception on first dev server load
APIRoute
to interface with Stripe. When first running bun run dev
and navigating to the app's URI, this error occurs (APIRoute
s update
func is undefined
):
```
1:09:43 PM [vite] (ssr) Error when evaluating SSR module $vinxi/handler/ssr: Cannot read properties of undefined (reading 'update')
at eval (/home/user/project/src/routeTree.gen.ts:134:66)...
Is it possible to access headers and the request context from the loader?