Learning resourcesReviewed · Lovable

Lovable guide: Upgrade a project to TanStack Start

This is Lovable's documentation page for people with older React + Vite projects who want to move them to the TanStack Start template so pages render on the server. The main catch is that the upgrade uses credits (most upgrades cost 10 to 35), and some browser-only libraries can still break server rendering. The page covers eligibility, three ways to start the upgrade, what the upgrade changes, how to review, publish or revert, known limitations, an FAQ and troubleshooting.

Researched 15 Nov 2026

In short.

This Lovable documentation page explains how owners of older React + Vite projects can upgrade them in place to TanStack Start so their pages render on the server. The main catch is that the upgrade consumes credits (most upgrades cost 10 to 35), and browser-only libraries can still break server rendering. According to the page, Lovable performs the upgrade inside the existing project in a single run. It carries over design, content, protected pages, analytics and metadata. Backend code that outside services call keeps its web address. The live site does not change until you publish, and the whole upgrade can be reverted from version history. Nothing was executed for this report, so every behaviour described here is the vendor's claim and has not been tested.

Researched and written by an AI model and checked by a second AI model. How it works

The scope is the single documentation page at [https://docs.lovable.dev/features/upgrade-to-tanstack-start.md], captured in full on 2026-11-15. The pages it links to (SEO and AEO, project settings, version history, workspace identity reuse, live voice, and the TanStack Start blog post) were not read, so their claims are not assessed. No upgrade was run and no project was tested; all behaviour described is what the page states. The captured text does not cover credit prices, plan allowances, licence terms for the page text, ownership of upgraded project code, applicable service terms, how the code conversion works or how Lovable carries out the upgrade underneath, so these remain unknown.

The overview

What this resource is

This is a single documentation page on docs.lovable.dev titled Upgrade a project to TanStack Start, at [https://docs.lovable.dev/features/upgrade-to-tanstack-start.md]. It describes a feature of Lovable that upgrades an older React + Vite project to TanStack Start, which the page calls Lovable's latest template. The page does not explain how Lovable carries out the upgrade underneath.

The page is a how-to and reference guide for the feature, not software you install. The captured text has no author name, version number or publication date.

Overall assessment

The page is a clear, practical guide. It gives eligibility rules, three ways to start, a numbered list of what the upgrade does, a cost range, a revert path, three listed limitations, an FAQ and four troubleshooting entries. It is useful for deciding whether to upgrade and for knowing what to check afterwards.

It is a vendor page, so benefits such as better search visibility, reliable link previews and faster first loads are claims. The page gives no measurements, benchmarks or example projects, and nothing was run to confirm them. It also does not explain how Lovable converts the code, so the quality of the rewrite is not documented beyond Lovable's own build, error and page-load checks.

Who it is for

It is for people who built a project on Lovable's older React + Vite stack and want full server-side rendering (SSR). SSR means each page is turned into finished HTML on the server before it is sent. The page names these reasons: search visibility, link previews with title, description and image, faster first page loads, and compatibility with newer Lovable features that need TanStack Start. Its two examples of such features are workspace identity reuse and live voice conversations in the app.

The page says anyone with permission to edit the project can start an upgrade, on all plans. Non-developers can follow it, because the main route is a chat command and a confirmation dialog. Developers will want more detail on the conversion than the page gives.

It is not for projects already on TanStack Start. The page says these are newer projects, and that the upgrade option does not appear for them.

What the upgrade is documented to do

According to the page, the upgrade works through six steps in one run: (1) take an inventory of pages, including those behind a sign-in or admin check, so the same protection carries over; (2) convert the page structure to TanStack Start; (3) move page titles, descriptions, social preview tags and analytics scripts; (4) carry over theme and styling customizations; (5) move backend code that only the app itself uses into the new template; (6) build the project, check for errors and load every page.

Backend code that outside services call directly stays where it runs and keeps its web address. The page's examples are a payment provider notification, a scheduled job on a timer, and a connected AI assistant. The page says integrations keep working without reconfiguration. The database is untouched.

The page also says Lovable may suggest the upgrade when you ask about blank link previews or pages missing from search, but never starts one without your confirmation. If a page fails after the upgrade, Lovable can change how a browser-only library loads. Lovable can also review titles, descriptions and preview images after the upgrade.

Using it

Requirements

The project must be an older Lovable project on React + Vite. The page says new projects have used TanStack Start by default since May 13, 2026, and new Enterprise projects since June 22, 2026. You need permission to edit the project. The workspace needs enough credits: the page says Lovable warns you if the balance is low and that the upgrade may need a top-up partway through.

If the project is not eligible, the upgrade option is hidden in settings and in the chat menu. To check, you can ask Lovable what stack the project is on. The page does not mention local tools, a command line or manual code changes as prerequisites. It does not say which React or Vite versions are supported, or what project size is too large.

How it works

Lovable performs the upgrade inside the existing project. The selected page does not say what technology carries out the upgrade underneath. The old approach sends a mostly empty page that the browser fills in with JavaScript. The page says Lovable serves pre-rendered copies to verified search engines and social preview bots, and that other tools see very little. With TanStack Start, every request receives finished HTML, whether it comes from visitors, search engines, AI crawlers or link preview bots.

The page does not document the code changes in technical detail. It does not say which TanStack Start or TanStack Router conventions are used, how routes are named, or how server functions are structured. It says only that the page structure is rewritten and that the result is built, checked for errors and loaded page by page. A large project may pause with a note on what is done and what is left, then resume when asked.

Setup and starting the upgrade

There are three ways to start, and each asks for confirmation. (1) In the project chat, type /, choose Migrate to TanStack Start, and confirm in the dialog. (2) In project settings, go to General, then Project actions, then Migrate to TanStack Start, and select Migrate. The editor opens and the upgrade starts on its own. (3) Ask Lovable in plain words, for example with the page's own prompt: Upgrade my app to TanStack Start so my pages render on the server and my link previews work.

When you ask in chat, a confirmation card titled Migrate to TanStack Start explains what the upgrade does and what it costs. Start migration begins it, and Cancel leaves the project unchanged. The page says the upgrade usually takes several minutes. When it finishes, review the app in the preview before publishing.

Worked example from the page's flow

This illustration is built only from the steps in the page. It was not run. Suppose a Lovable project on React + Vite shows blank previews when its link is shared. You ask Lovable: What stack is this project on? The page says this is how to check eligibility. If the project is on the older stack, type / in the chat, choose Migrate to TanStack Start, and select Start migration on the confirmation card.

Follow the progress in the chat. If a large project pauses, ask Lovable to continue. Then open the preview and click through the pages, especially any behind a sign-in and any that use browser-only libraries. If everything looks right, publish. Then check the shared link again with the preview debugger for the platform you use. If anything is wrong, restore the pre-upgrade version from version history. Restoring changes the project, not the live site. If you have already published the upgraded version, you must also publish the restored version to change the live site back.

Assessment & evidence

Limitations and risks

The page lists these limits. Only one upgrade runs per project at a time, and a stuck upgrade can be reverted and started again. Visitors who installed the app as a Progressive Web App keep a saved copy of the old version. Lovable removes it automatically for returning visitors in most cases, and tells you during the upgrade if yours needs a manual follow-up. Some browser-only code libraries can break server rendering in ways the upgrade's own checks miss, so test your pages and report failures to Lovable.

Other points from the page: a large upgrade may pause and resume when you ask Lovable to continue. Link previews on platforms such as Slack and LinkedIn can look wrong for a while because those platforms cache them, and the live site only changes after you publish. The page gives no success rate, no list of known incompatible libraries and no data on how often manual fixes are needed. All of these are unknown.

Reasoning: when it makes sense

As the page presents them, the strongest reasons to upgrade are reliable link previews, finished HTML readable by visitors and tools (not only verified crawlers), faster first page loads, and access to newer Lovable features that need TanStack Start. The page documents two safeguards. The published site keeps serving the old version until you publish again, and the upgrade can be reverted from the project's version history.

The page itself says you do not have to upgrade. Older projects keep working, and search engines can still read them through pre-rendering. If your project is an internal tool, sits behind a login, or does not depend on search or link previews, the search and preview benefits matter less. The faster first page load the page describes, and the newer features, may still be reasons to upgrade. That judgment is editorial, not the page's. Because the page reports no test results, review the upgraded app yourself before publishing.

Alternatives

The only alternative the page names is not upgrading: stay on React + Vite and rely on Lovable's pre-rendering for verified search engines and social preview bots, which is described on Lovable's SEO and AEO page. That page was not captured, so its details are not assessed here.

The page does not describe or compare any other options. Whether any other route would be feasible or suitable for a given project is unknown from this evidence.

Evidence base

This report rests on one captured file: the full text of the selected documentation page. The page is vendor documentation. It is a primary source for what Lovable says the feature does, but it does not independently confirm that the feature works as described.

No code was executed, no upgrade was run, and no outputs, screenshots or benchmarks were available. The migration behaviour has not been independently tested. Claims about speed, SEO and previews are the vendor's. Statements about what is not documented apply only to this one page.

Access & freshness

Costs

The page says the upgrade is treated as standard build usage and consumes credits. Most upgrades cost 10 to 35 credits, depending on project size. Because it says most upgrades, some may fall outside that range. The page does not say how many credits each plan includes, what a credit costs in money, or what a very large project would cost.

Lovable warns you if the workspace balance is low when you start, and a top-up may be needed partway through. The page does not say whether credits already used are refunded if you revert. The cost in money is unknown from this evidence.

Rights and reuse

The captured page contains no licence statement or reuse terms for its text. This evidence does not establish whether the page may be copied, redistributed or adapted.

The page does not say who owns the upgraded project code or which service terms apply to the upgrade. Code ownership and the applicable service terms are unknown from this evidence.

Freshness

The page was captured on 2026-11-15. The captured text has no publication date or last-updated date, so both are unknown. The page mentions the default-template changes on May 13, 2026 (new projects) and June 22, 2026 (new Enterprise projects). These are product rollout dates and do not show when the page was written or updated. It is unknown how current the credit range, menu labels and limitations are.

Lovable's interface and pricing can change. Before you start, check the live page and the in-product confirmation card, which the page says explains what the upgrade costs.

Suggested actions

Before you start, ask Lovable What stack is this project on? and check that the workspace has enough credits. Budget for the page's range of 10 to 35 credits, and allow for more if the project is large. Note which pages are behind a sign-in or admin check. Also check the project's actual dependencies for libraries that only work in the browser, so you can test the affected pages afterwards.

During and after the upgrade, read the confirmation card, follow the chat, and ask Lovable to continue if it pauses. Click through every page in the preview. Publish only when you are satisfied, then re-check link previews on the platforms you care about. If something is wrong, tell Lovable which page fails, or restore the pre-upgrade version from version history. Restoring changes the project only. If you have already published the upgraded version, publish the restored version as well to change the live site back. If your app is installed as a Progressive Web App, watch for Lovable's note about a manual follow-up.

Evidence for this report

selected-page.txtselected · checked 2026-11-15