TanStack Start (Solid)
TanStack Start (Solid) scores 17 of 28 points. That is 10 of 14 on the 7 features that affect first paint (the moment the browser first draws content), and 7 of 14 on the 7 other features.
- Version checked
- @tanstack/solid-start 2.0.0-rc.8 (rc tag now rc.12 as of 2026-11-24), Vite ^8.0.0
- Version notes
- ?inline CSS; hand-written @font-face; own catalog cache
- Performance guide
- Code Splitting | TanStack Router DocsNo dedicated performance page; closest official page (TanStack Start is built on TanStack Router).
- Issues
- github.com/TanStack/router/issues
Scorecard
All 14 features, in two groups. Each row shows TanStack Start (Solid)'s label, how that label compares across all 23 frameworks, and how to enable the feature. Feature names link to TanStack Start (Solid)'s entry on that feature's page.
TanStack Start (Solid)'s labels across 14 features
- 1st-party5
- Experimental3
- Third-party4
- Manual2
- of 14
How it compares
On 5 of 14 features, no framework has a higher-scoring label than TanStack Start (Solid). On the other 9, at least one does.
Tested in our port
The tanstack-solid-books port passes 10/11 feature tests (failed: Production CSS inlining). Run on 2026-11-27 at MaxwellCohen/tanstack-solid-books@8362e4f. How we test labels
First-paint levers
- 01Production CSS inliningExperimental1 pt
Experimental, like 2 of the other 22 frameworks. 8 frameworks score higher.
Tested in our port: failedShow the how-to and testHide the how-to and test
The same
server.build.inlineCssflag exists. This port does not use it;src/routes/__root.tsximportsapp.css?inlineand passes it throughhead().import appCss from "../app.css?inline"; // ... head: () => ({ styles: [{ children: appCss }], }),From this repo's
tanstack-solid-books/src/routes/__root.tsx(optimizedbranch).Our feature test turned the flag on in the 2.0.0-rc.8 port. The page got an inline
<style>with the route's CSS, but the hashed route stylesheet (/assets/css-inlining-*.css) was still linked as a render-blocking<link rel="stylesheet">. The guide says the flag replaces manifest-managed stylesheet links with one inline<style>tag, so on this release line the flag only half works. The label stays 🧪 because the flag is documented as experimental. - 02Font optimizationThird-party1 pt
Third-party, like 18 of the other 22 frameworks. 4 frameworks score higher.
Show the how-toHide the how-to
Hand-write
@font-facerules over the Fontsource woff2 files insrc/app.css, plus an explicit woff2 preload in__root.tsx. No first-party font module is documented (same production checklist).@font-face { font-family: "Geist Variable"; font-display: optional; font-weight: 100 900; src: url("@fontsource-variable/geist/files/geist-latin-wght-normal.woff2") format("woff2"); }links: [ { rel: "preload", as: "font", type: "font/woff2", href: geistLatin, crossOrigin: "anonymous" }, ],From this repo's
tanstack-solid-books/src/app.cssandsrc/routes/__root.tsx(optimizedbranch;font-styleandunicode-rangeomitted). - 03Image pipelineThird-party1 pt
Third-party, like 13 of the other 22 frameworks. 9 frameworks score higher.
Show the how-toHide the how-to
Unpic (
@unpic/solid) with the same IPX/Nitro or host-CDN setup; no first-party image pipeline is documented (same checklist).import { Image as UnpicImage } from "@unpic/solid";From this repo's
tanstack-solid-books/src/components/ui/image.tsx(optimizedbranch).Art direction with <picture>
ManualServing a different crop or format per screen size. Not scored: the label shows how much the framework does for you.
Same as React (checklist), with
@unpic/solid.Example
Write the same
<picture>as the React port, withSourcefrom@unpic/solidaround the port's<Image>wrapper. Solid usesclassinstead ofclassName.// src/features/book/components/book-cover.tsx import { Source } from "@unpic/solid"; import { Image } from "@/components/ui/image"; import { imageCdn } from "@/lib/image-config"; // … const small = () => props.src ?? EMPTY_IMAGE_URL; const size = { layout: "constrained", width: COVER_IMAGE_WIDTH, height: COVER_IMAGE_HEIGHT } as const; return ( <picture> <Source {...size} media="(min-width: 768px)" src={getLargeBookImageUrl(small())} cdn={imageCdn} options={imageCdn === "ipx" ? { ipx: { baseURL: "/_ipx" } } : undefined} /> <Image {...size} alt={props.title} src={small()} sizes={props.sizes} priority={props.priority} class="absolute inset-0 size-full object-cover" objectFit="cover" unstyled /> </picture> ); - 04Data/HTML caching1st-party2 pts
1st-party, like 16 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
Static prerendering and route
headerswork the same way as in React (same snippet), but there is no Solid ISR guide. This port uses its own catalog cache plusCache-Controlheaders.Our feature test of the router loader cache (
staleTime) passes on 2.0.0-rc.8: the loader made no server-function request insidestaleTime, refetched once after it expired, and the new value reached the page. The label rests on prerendering and route headers; the loader cache is a bonus.Code example
Give a route a
headersfunction to setCache-Controlon its document response. AddprerendertotanstackStart()for pages that should be built ahead of time.// src/routes/$id.tsx import { createFileRoute } from '@tanstack/solid-router' export const Route = createFileRoute('/$id')({ loader: ({ params }) => getBook(params.id), headers: () => ({ // Cache at CDN for 1 hour, allow stale content for up to 1 day 'Cache-Control': 'public, max-age=3600, s-maxage=3600, stale-while-revalidate=86400', }), // … })Source: TanStack Start: Incremental Static Regeneration (ISR)
- 05Route prefetching1st-party2 pts
1st-party, like 18 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
The same router preloading applies. This port sets
defaultPreload: 'intent'intanstack-solid-books/src/router.tsx(optimizedbranch) with@tanstack/solid-router, but it does not use the router's<Link>: itsFastLink(src/components/ui/fast-link.tsx) is a plain<a>that callsrouter.preloadRoute()on hover and focus (and on render whenprefetchis set), so preloading is wired by hand through the manual API rather than by thedefaultPreloadsetting.Code example
defaultPreload: 'intent'makes every router<Link>preload its route on hover or focus. The port'sFastLinkis a plain<a>, so it callsrouter.preloadRoute()itself on the same events.// src/router.tsx const router = createTanStackRouter({ routeTree, defaultPreload: 'intent', defaultPreloadStaleTime: 0, })// src/components/ui/fast-link.tsx const router = useRouter() function warm() { const url = new URL(props.href, 'http://tanstack-solid-books.local') const id = url.pathname === '/' ? undefined : url.pathname.slice(1) const search = Object.fromEntries(url.searchParams) void router .preloadRoute(id ? { to: '/$id', params: { id }, search } : { to: '/', search }) .catch(() => {}) } return <a href={props.href} onFocus={warm} onMouseEnter={warm}>{props.children}</a>Source: TanStack Router: Preloading
- 06Streaming SSR1st-party2 pts
1st-party, like 17 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
The same setup applies:
defaultStreamHandlerfrom@tanstack/solid-start/server(server entry point) and unawaited loader promises rendered with<Await>(deferred data loading).Code example
The server entry renders with
defaultStreamHandler. A loader returns a slow promise without awaiting it, and<Await>shows its fallback until the promise resolves and the rest of the HTML streams in.// src/server.ts import { createStartHandler, defaultStreamHandler } from '@tanstack/solid-start/server' import { createServerEntry } from '@tanstack/solid-start/server-entry' const processRequest = createStartHandler(defaultStreamHandler) export default createServerEntry({ fetch: (request, opts) => processRequest(request, opts) })// src/routes/$id.tsx import { createFileRoute, Await } from '@tanstack/solid-router' export const Route = createFileRoute('/$id')({ loader: async ({ params }) => ({ book: await getBook(params.id), // awaited: in the first chunk reviews: getReviews(params.id), // not awaited: streamed later }), component: BookPage, }) function BookPage() { const data = Route.useLoaderData() return ( <> <h1>{data().book.title}</h1> <Await promise={data().reviews} fallback={<p>Loading reviews…</p>}> {(reviews) => <ul>{reviews.map((r) => <li>{r.text}</li>)}</ul>} </Await> </> ) }Source: TanStack Start: Server Entry Point · TanStack Router: Deferred Data Loading
- 07Early Hints / preload headersExperimental1 pt
Experimental, like 2 of the other 22 frameworks. 4 frameworks score higher.
Show the how-toHide the how-to
The same experimental
onEarlyHintshook andresponseLinkHeaderoption, imported from@tanstack/solid-start/server-entry.Code example
Pass
onEarlyHintstohandler.fetch()in the server entry. It receives the manifest's preload links, which you send with the runtime's 103 API.responseLinkHeader: trueputs them in aLinkheader instead.// src/server.ts import handler from '@tanstack/solid-start/server-entry' import type { ServerRequest } from 'srvx' export default { fetch(request: Request) { const serverRequest = request as ServerRequest return handler.fetch(request, { onEarlyHints: ({ phase, allLinks }) => { if (phase !== 'dynamic') return const response = serverRequest.runtime?.node?.res if (response?.writeEarlyHints && allLinks.length) { response.writeEarlyHints({ link: allLinks }) } }, }) }, }Source: TanStack Start: Early Hints
Other features
- 08Islands / partial hydration / lazy slicesExperimental1 pt
Experimental, like 4 of the other 22 frameworks. 15 frameworks score higher.
Show the how-toHide the how-to
The same
<Hydrate>from@tanstack/solid-start(guide); the usage mirrors the React snippet. That guide's prose is still copied from the React page, so its runtime behaviour is less proven. TanStack Start documents no Server Components for Solid. This port does not use<Hydrate>.import { Hydrate } from '@tanstack/solid-start' import { visible } from '@tanstack/solid-start/hydration' <Hydrate when={visible({ rootMargin: '400px' })}> <Reviews /> </Hydrate>From the Solid deferred hydration guide (component wrapper omitted; the page's prose still refers to React).
- 09Per-route render modes1st-party2 pts
1st-party, like 18 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
The same per-route
ssr: true | false | 'data-only',defaultSsr, and global SPA mode; the options match the React snippet.import { createStart } from '@tanstack/solid-start' export const startInstance = createStart(() => ({ defaultSsr: false, }))From the Solid selective SSR guide; the per-route
ssr: falseexample is the same as the React one. - 10Fine-grained client reactivity1st-party2 pts
1st-party, like 21 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
Signals; updates write to the DOM directly (the same
createSignalshown for SolidStart).Code example
createSignalreturns a getter and a setter. Readingquantity()in JSX subscribes that text node, so a click updates only that node. The component function does not run again.import { createSignal } from 'solid-js' export function LineItem() { const [quantity, setQuantity] = createSignal(1) const price = 12 return ( <div> <button type="button" onClick={() => setQuantity(quantity() - 1)}>−</button> <span>{quantity()}</span> <button type="button" onClick={() => setQuantity(quantity() + 1)}>+</button> <p>Subtotal: ${quantity() * price}</p> </div> ) }Source: Solid: Reactivity
- 11Built-in bundle analysisThird-party1 pt
Third-party, like 18 of the other 22 frameworks. 2 frameworks score higher.
Show the how-toHide the how-to
Same (Solid hosting guide documents no analyzer): rollup-plugin-visualizer, not configured.
Code example
Add
rollup-plugin-visualizerto the plugin list.vite buildthen writes a treemap of the bundle tostats.html.// vite.config.ts import { defineConfig } from 'vite' import { tanstackStart } from '@tanstack/solid-start/plugin/vite' import viteSolid from '@solidjs/vite-plugin' import { visualizer } from 'rollup-plugin-visualizer' export default defineConfig({ plugins: [ tanstackStart(), viteSolid({ ssr: true }), visualizer({ filename: 'stats.html', gzipSize: true }), ], })Source: rollup-plugin-visualizer: README
- 12Third-party script strategiesManual0 pts
Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.
Show the how-toHide the how-to
Same as React (Solid hosting guide lists no script API); the same
scripts: [{ children: themeScript }]field is used intanstack-solid-books/src/routes/__root.tsx.Code example
Use the root route's
head().scripts, which the port already uses for its theme script. Since there is no loading-strategy option, add a small inline loader that injects the third-party tag once the page has loaded.// src/routes/__root.tsx const lazyAnalytics = `addEventListener("load",function(){(window.requestIdleCallback||setTimeout)(function(){var s=document.createElement("script");s.src="https://example-analytics.com/script.js";s.async=true;document.head.appendChild(s);});});`; export const Route = createRootRoute({ head: () => ({ // … meta, links, styles from the port … scripts: [ { children: themeScript }, // from the port { src: "https://example.com/critical.js", async: true }, // load as soon as possible { children: lazyAnalytics }, // like Next's lazyOnload ], }), // … }); - 13Portable multi-host deploymentThird-party1 pt
Third-party, like 5 of the other 22 frameworks. 8 frameworks score higher.
Show the how-toHide the how-to
The same options, Nitro plus host-maintained plugins (hosting), scored 🧪 as for the React variant; this port implements all three branches with the same Cloudflare / Netlify / Nitro structure in
tanstack-solid-books/vite.config.ts(optimizedbranch).Code example
The port picks one host plugin at build time:
@cloudflare/vite-pluginon Cloudflare,@netlify/vite-plugin-tanstack-starton Netlify, and Nitro everywhere else (Vercel included).// vite.config.ts import { defineConfig, type PluginOption } from 'vite' import { tanstackStart } from '@tanstack/solid-start/plugin/vite' import viteSolid from '@solidjs/vite-plugin' import { nitro } from 'nitro/vite' const isCloudflare = Boolean(process.env.CLOUDFLARE || process.env.WORKERS_CI || process.env.CF_PAGES) const isNetlify = Boolean(process.env.NETLIFY) export default defineConfig(async () => { const plugins: PluginOption[] = [] if (isCloudflare) { const { cloudflare } = await import('@cloudflare/vite-plugin') plugins.push(cloudflare({ viteEnvironment: { name: 'ssr' } })) } else if (isNetlify) { const netlify = (await import('@netlify/vite-plugin-tanstack-start')).default plugins.push(netlify()) } else { plugins.push(nitro()) } plugins.push(tanstackStart(), viteSolid({ ssr: true })) return { plugins } })Source: TanStack Start: Hosting
- 14Service worker / offline supportManual0 pts
Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.
Show the how-toHide the how-to
The same: nothing in the Solid variant's docs.
Code example
Put a hand-written worker in
public/and register it with an inline script from the root route'shead.// public/sw.js const CACHE = 'books-v1'; // change the name on each deploy self.addEventListener('activate', (event) => { event.waitUntil( caches.keys().then((keys) => Promise.all(keys.filter((k) => k !== CACHE).map((k) => caches.delete(k)))), ); }); self.addEventListener('fetch', (event) => { const { request } = event; if (request.method !== 'GET' || new URL(request.url).origin !== location.origin) return; // Network first, so pages stay current. The cached copy answers when offline. event.respondWith( fetch(request) .then((response) => { const copy = response.clone(); caches.open(CACHE).then((cache) => cache.put(request, copy)); return response; }) .catch(() => caches.match(request)), ); });// src/routes/__root.tsx const swScript = `if('serviceWorker' in navigator)addEventListener('load',function(){navigator.serviceWorker.register('/sw.js')});`; // … scripts: [{ children: themeScript }, { children: swScript }],Source: Using Service Workers (MDN) · TanStack Start document head
1st-party scores 2 points, Experimental and Third-party 1, Manual 0. How scoring works
The port
The books demo app built with this framework, and where each branch is deployed.
- App
- tanstack-solid-books
- Repository
- github.com/MaxwellCohen/tanstack-solid-books
Branch
main
vibe port
Branch
optimized
cache + fonts
Latest benchmark
Mobile Lighthouse lab results from PageSpeed Insights on : the median of 3 runs per host, averaged across the hosts listed. The benchmark page explains each metric and has every other framework.
| Build | Path | Perf | FCP | Raw FCP | LCP | TBT | CLS | SI | TTI | Doc | Hosts |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Book list / | |||||||||||
| baseline | / | 84 | (good)1.52 | 1.29 | (poor)4.36 | (good)29 | (good)0.000 | 2.69 | 4.36 | 138 | 3/3 Vercel, Netlify, Cloudflare |
| optimized | / | 96 | (good)0.93 | 0.95 | (needs improvement)2.60 | (good)32 | (good)0.000 | 1.88 | 2.97 | 144 | 3/3 Vercel, Netlify, Cloudflare |
| Book page /10145787 | |||||||||||
| baseline | /10145787 | 97 | (good)1.52 | 0.23 | (needs improvement)2.58 | (good)3 | (good)0.000 | 1.52 | 2.58 | 108 | 3/3 Vercel, Netlify, Cloudflare |
| optimized | /10145787 | 99 | (good)0.93 | 0.59 | (good)2.05 | (good)0 | (good)0.000 | 1.42 | 2.05 | 145 | 3/3 Vercel, Netlify, Cloudflare |
- Good
- Needs improvement
- Poor
FCP 1.8 s / 3 s · LCP 2.5 s / 4 s · TBT 200 ms / 600 ms · CLS 0.1 / 0.25
Per host
The medians above before averaging. Runs is how many measured runs went into each median. Host names link to the deployment.
| Build | Path | Host | Perf | FCP | Raw FCP | LCP | TBT | CLS | SI | TTI | Doc | Runs | Status |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TanStack Start (Solid) | |||||||||||||
| baseline | / | Vercel | 84 | (good)1.51 | 1.30 | (poor)4.36 | (good)37 | (good)0.000 | 2.44 | 4.36 | 144 | 3/3 | OK |
| baseline | / | Netlify | 82 | (good)1.54 | 2.34 | (poor)4.36 | (good)47 | (good)0.000 | 4.13 | 4.36 | 175 | 3/3 | OK |
| baseline | / | Cloudflare | 85 | (good)1.51 | 0.23 | (poor)4.36 | (good)4 | (good)0.000 | 1.51 | 4.36 | 96 | 3/3 | OK |
| baseline | /10145787 | Vercel | 97 | (good)1.51 | 0.24 | (needs improvement)2.59 | (good)8 | (good)0.000 | 1.51 | 2.59 | 141 | 3/3 | OK |
| baseline | /10145787 | Netlify | 97 | (good)1.54 | 0.30 | (needs improvement)2.59 | (good)0 | (good)0.001 | 1.54 | 2.59 | 133 | 3/3 | OK |
| baseline | /10145787 | Cloudflare | 97 | (good)1.51 | 0.16 | (needs improvement)2.56 | (good)0 | (good)0.000 | 1.51 | 2.56 | 49 | 3/3 | OK |
| optimized | / | Vercel | 98 | (good)0.93 | 0.27 | (good)2.40 | (good)26 | (good)0.000 | 0.93 | 2.70 | 122 | 3/3 | OK |
| optimized | / | Netlify | 91 | (good)0.93 | 2.37 | (needs improvement)3.30 | (good)44 | (good)0.000 | 3.70 | 3.30 | 222 | 3/3 | OK |
| optimized | / | Cloudflare | 99 | (good)0.93 | 0.21 | (good)2.10 | (good)26 | (good)0.000 | 0.99 | 2.90 | 89 | 3/3 | OK |
| optimized | /10145787 | Vercel | 99 | (good)0.93 | 0.20 | (good)1.95 | (good)0 | (good)0.000 | 0.93 | 1.95 | 113 | 3/3 | OK |
| optimized | /10145787 | Netlify | 98 | (good)0.94 | 1.33 | (good)2.25 | (good)0 | (good)0.000 | 2.29 | 2.25 | 166 | 3/3 | OK |
| optimized | /10145787 | Cloudflare | 99 | (good)0.92 | 0.25 | (good)1.95 | (good)0 | (good)0.000 | 1.02 | 1.95 | 157 | 3/3 | OK |