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

Agent Cloud

About the session

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.

Browse all
Connect 2027

Connect returns in 2027

Be the first to know when registration opens and the agenda goes live.

By submitting this form, you agree to our Privacy Policy.

cloudflare-connect-2026

            ---
title: "TanStack Start on Workers: Server-rendering apps an AI just wrote"
url: "https://www.cloudflare.com/connect/2026/session/tanstack-start-on-workers-server-rendering-apps-an-ai-just-wrote"
year: 2026
---

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

[Watch session](https://www.cloudflare.com/connect/2026/session/tanstack-start-on-workers-server-rendering-apps-an-ai-just-wrote?play=1)

Player: https://iframe.cloudflarestream.com/5889e45efa221a8a59b88a5b8d7dc970

## Session details

- **Track:** Agent Cloud
- **Topics:** Agentic AI & MCP, AI transformation, Programmable Platforms
- **Solution areas:** Developer Platform, Application Security, Core Platform

## About this session

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.

## Speakers

- [Fabian Hedin](https://www.cloudflare.com/connect/speakers/2442768) — Co-Founder & CTO, Lovable

## Related sessions

- [Break the ceiling of internal productivity with a fast, global filesystem](https://www.cloudflare.com/connect/2026/session/break-the-ceiling-of-internal-productivity-with-a-fast-global-filesystem)
- [Building an open agentic Internet: Discoverable, callable, and payable](https://www.cloudflare.com/connect/2026/session/building-an-open-agentic-internet-discoverable-callable-and-payable)
- [12 mistakes we made building an agent platform for 100,000 employees](https://www.cloudflare.com/connect/2026/session/12-mistakes-we-made-building-an-agent-platform-for-100-000-employees)

## More from Connect

- [All sessions](https://www.cloudflare.com/connect/)
- [Get notified for Connect 2027](https://www.cloudflare.com/connect#2027)