|
Cloudflare TV

TanStack Start on Workers: Server-rendering apps an AI just wrote

Presented by: Fabian Hedin
Originally aired on October 22 @ 12:30 PM - 1:00 PM EDT
In May, Lovable made TanStack Start the default for every new app it generates: rendered on the server, running on Cloudflare Workers. In this session, Lovable Co-Founder and CTO Fabian Hedin explains what that took. He walks through the SSR request lifecycle, including how loaders execute on the server, how dehydrated router state is streamed inline with no client waterfall on first load, and how routes with no data that varies per request are prerendered at deploy time. He also explores how createServerFn is transformed at build time so code meant only for the server never reaches the client bundle, and how secrets scoped to each project live as Worker bindings and rotate without a redeploy. Finally, he discusses the parts that hurt: isolating memory limits, runtime mismatches, and teaching a model a framework that shipped after its cutoff.
English

Transcript (Beta)

background