Lovable switched to TanStack Start: what changed and what it means for your app
By Mike van BeaumondAI Engineer · company brain & automationpublished on
6 min read
Quick take
Do you need to do anything? No for existing projects. For new projects you are automatically better off: faster, more visible in Google and ChatGPT, and safer with secrets.
+2.9%
organic search traffic with prerendering
+98.5%
traffic from AI tools like ChatGPT & Perplexity
On June 1, 2026 Lovable published a blog post about a major technical change that already went live on May 13: all new projects now run on TanStack Start instead of the old React + Vite stack.
If you use Lovable, you want to know what changed, whether you need to do anything, and what the concrete benefits are. This article gives you that overview without the technical details you do not need, but with the insights that actually matter.
The core message: existing projects keep working the way they always have. New projects are automatically faster, more discoverable in Google, and safer when handling sensitive keys.
What was the problem with the old stack?
Until May 13 Lovable built Single-Page Apps: apps where the browser first received an empty HTML page, then downloaded all the JavaScript, and only then built up the page. That works fine for users. But for search engines and AI tools it is problematic.
Google indexes JavaScript pages with delay, on average 10 seconds, sometimes hours. Other crawlers do not load them at all. LinkedIn, Slack and WhatsApp read meta tags from the HTML directly: a client-side app therefore shows a generic preview when shared instead of the right title and description for your page.
The second problem: backend logic had to be deployed separately. Sending an email, calling a paid API, running a database query with a service key, that could not sit next to your component code. It required a separate edge function on another domain.
What TanStack Start solves
TanStack Start is a modern React framework with server-side rendering (SSR) as default. The server already builds the page before sending it to the browser. Crawlers receive the full HTML directly. Users see the page faster.
The second benefit is architectural: backend logic can now live next to component code. In the same file, with shared types. Lovable automatically marks which code runs on the server and which in the browser. You see no difference, the deploy works the same as before.
What changes concretely for your projects?
Existing projects
Nothing breaks. Everything works the way it always has. There is nothing to migrate, nothing to update, and no decision to make.
What existing projects do get right away: prerendering for crawlers. When a search engine or AI tool visits your existing Lovable app, Lovable renders the page server-side in a headless browser and serves the full HTML. Human visitors notice nothing, the app still loads as a normal SPA in their browser.
New projects (created after May 13)
New projects automatically use the new stack. No opt-in, no configuration, nothing to learn. The benefits are immediate:
- Better SEO: pages load with the full HTML already present. Crawlers index immediately, with no waiting time.
- Faster first load: the server sends HTML instead of an empty page. Users see content faster.
- Backend logic next to components: an API call with a secret key, sending an email, a database query, can now live in the same file as the component that uses it. One deploy, no separate edge functions.
- Safer secrets management: API keys and environment variables are stored as separate Cloudflare Workers bindings. They are not in the deployed code. You can rotate a key and the change applies instantly without rebuilding or redeploying.
What is TanStack Start and why this framework?
TanStack is a team that has been building popular open-source tools in the React ecosystem for years. TanStack Query (formerly React Query) and TanStack Table are the best known. TanStack Start is their React framework for full-stack apps, and it is relatively new.
Lovable chose TanStack Start based on four criteria: it stays inside the React ecosystem, it is open-source and independent, it is easy to deploy on any platform, and it has server-side rendering as a core feature. TanStack Start scores on all four.
A technical note for developers reading the code: TanStack Start appears after the training data of most AI models. Lovable invested specifically in teaching the AI the correct TanStack patterns, collaborating with the TanStack team itself. The generated code follows the new conventions directly.
What about secrets and API keys?
This is the improvement that affects most Lovable users directly. In the old stack secrets were stored in Lovable Cloud. In the new stack secrets are stored as Cloudflare Workers bindings, fully decoupled from the deployed code.
What this means in practice: you add a secret via the project settings in Lovable, exactly as before. But now you can rotate a key and the change is active on the very next request. No rebuild, no redeploy, no gap where the old key is still active.
Important: secrets without the VITE_ prefix are server-only and never end up in the client bundle. Lovable automatically makes sure secrets land on the right side of the boundary.
What does this mean for your Lovable app's SEO?
If you have a Lovable app you want to rank in Google, this is the most relevant update of 2026. Client-side rendered apps have a structural disadvantage with search engines, not because Google cannot index them, but because Google indexes them with delay.
With SSR and prerendering that delay is gone. Google gets the full page content immediately. Meta tags for social media (LinkedIn, X, WhatsApp) work directly. And AI tools like ChatGPT and Perplexity, which increasingly serve as the starting point for searches, can read your app pages directly.
The numbers Lovable already sees after the first weeks: 2.9% more organic search traffic, 98.5% more traffic from AI tools. That second number is exceptionally high and confirms what SEO circles call 'AEO': Answer Engine Optimization, visibility in AI answers.
Do you need to do anything?
If you have existing Lovable projects: no. They keep working, get prerendering for crawlers automatically, and you do not need to migrate anything.
If you start a new project: you are automatically on the new stack. No action required.
If you want to upgrade an existing project to the full new stack: Lovable is actively working on it. The option is not available yet, but Lovable indicates that the path is in development.
Practical tip
If you are building an app that needs to be findable in Google or in AI answers, think of a SaaS product, a portfolio page, or a marketing site, start a new project instead of continuing in an existing one. You will get the full SSR benefits right away. This choice is not in the official announcement, but it is the difference between being found and not being found.
What does not change?
Lovable Cloud remains the database, auth, storage and realtime layer. The publishing flow is the same: you click Publish, watch the progress, and the app is live. The URL structure does not change.
Lovable users without a technical background barely notice the change. The interface is identical. The way of building is identical. The apps Lovable generates are simply faster, more discoverable, and safer.
In closing
TanStack Start is a technical update most Lovable users will not notice in their daily work, but they will notice in the results. More discoverable, faster, safer secrets. And all of that without having to do anything.
If you are just getting started with Lovable or considering a new project: this is a good moment.
Schedule a call if you want to learn to build with Lovable, including the latest stack updates. Or read the Lovable Aesthetics 2026 update for the visual side of the story.
Source: lovable.dev/blog/building-apps-using-tanstack-start (Fabian Hedin, June 1, 2026).
Sound familiar? Let's talk.
In 30 minutes we look together at which team your brain starts with. No obligation.
Frequently asked questions
No. Existing projects keep working the way they always have. There is nothing to migrate and nothing to update. Existing projects do get prerendering for crawlers automatically.
No. Lovable handles all the technical details. You build the same way as before. The new stack is fully transparent to the user.
Lovable is working on it, but the option does not exist yet. If you want to benefit from the full SSR advantages right away, start a new project.
They run unchanged. Crawlers do get better access to the content via prerendering, that is the only automatic improvement for existing, deployed apps.
No. Secrets in existing projects are unchanged. New projects use the new Cloudflare Workers bindings system, but you enter secrets via the same project settings as before.
Yes. Server-side rendering is the most direct solution to the crawlability disadvantage of client-side apps. The first results (2.9% more organic traffic, 98.5% more AI tool traffic) are promising.