Skip to content

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.

Tied for rank 8 of 23 with TanStack Start (React), Waku, Analog, Void (Svelte)17/28 points: 10/14 first-paint, 7/14 other · 61% complete
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

10/14
  • Experimental, like 2 of the other 22 frameworks. 8 frameworks score higher.

    Tested in our port: failed
    Show the how-to and test

    The same server.build.inlineCss flag exists. This port does not use it; src/routes/__root.tsx imports app.css?inline and passes it through head().

    import appCss from "../app.css?inline";
    // ...
    head: () => ({
      styles: [{ children: appCss }],
    }),

    From this repo's tanstack-solid-books/src/routes/__root.tsx (optimized branch).

    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-to

    Hand-write @font-face rules over the Fontsource woff2 files in src/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.css and src/routes/__root.tsx (optimized branch; font-style and unicode-range omitted).

  • 03Image pipelineThird-party1 pt

    Third-party, like 13 of the other 22 frameworks. 9 frameworks score higher.

    Show 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 (optimized branch).

    Art direction with <picture>

    Manual

    Serving 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, with Source from @unpic/solid around the port's <Image> wrapper. Solid uses class instead of className.

    // 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-to

    Static prerendering and route headers work the same way as in React (same snippet), but there is no Solid ISR guide. This port uses its own catalog cache plus Cache-Control headers.

    Our feature test of the router loader cache (staleTime) passes on 2.0.0-rc.8: the loader made no server-function request inside staleTime, 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 headers function to set Cache-Control on its document response. Add prerender to tanstackStart() 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-to

    The same router preloading applies. This port sets defaultPreload: 'intent' in tanstack-solid-books/src/router.tsx (optimized branch) with @tanstack/solid-router, but it does not use the router's <Link>: its FastLink (src/components/ui/fast-link.tsx) is a plain <a> that calls router.preloadRoute() on hover and focus (and on render when prefetch is set), so preloading is wired by hand through the manual API rather than by the defaultPreload setting.

    Code example

    defaultPreload: 'intent' makes every router <Link> preload its route on hover or focus. The port's FastLink is a plain <a>, so it calls router.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-to

    The same setup applies: defaultStreamHandler from @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

  • Experimental, like 2 of the other 22 frameworks. 4 frameworks score higher.

    Show the how-to

    The same experimental onEarlyHints hook and responseLinkHeader option, imported from @tanstack/solid-start/server-entry.

    Code example

    Pass onEarlyHints to handler.fetch() in the server entry. It receives the manifest's preload links, which you send with the runtime's 103 API. responseLinkHeader: true puts them in a Link header 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

7/14
  • Experimental, like 4 of the other 22 frameworks. 15 frameworks score higher.

    Show 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).

  • 1st-party, like 18 of the other 22 frameworks. None scores higher.

    Show 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: false example is the same as the React one.

  • 1st-party, like 21 of the other 22 frameworks. None scores higher.

    Show the how-to

    Signals; updates write to the DOM directly (the same createSignal shown for SolidStart).

    Code example

    createSignal returns a getter and a setter. Reading quantity() 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

  • Third-party, like 18 of the other 22 frameworks. 2 frameworks score higher.

    Show the how-to

    Same (Solid hosting guide documents no analyzer): rollup-plugin-visualizer, not configured.

    Code example

    Add rollup-plugin-visualizer to the plugin list. vite build then writes a treemap of the bundle to stats.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

  • Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.

    Show the how-to

    Same as React (Solid hosting guide lists no script API); the same scripts: [{ children: themeScript }] field is used in tanstack-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
        ],
      }),
      // …
    });
  • Third-party, like 5 of the other 22 frameworks. 8 frameworks score higher.

    Show 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 (optimized branch).

    Code example

    The port picks one host plugin at build time: @cloudflare/vite-plugin on Cloudflare, @netlify/vite-plugin-tanstack-start on 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

  • Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.

    Show 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's head.

    // 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.

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.

TanStack Start (Solid): latest benchmark per build and page
BuildPathPerfFCPRaw FCPLCPTBTCLSSITTIDocHosts
Book list /
baseline/84(good)1.521.29(poor)4.36(good)29(good)0.0002.694.361383/3 Vercel, Netlify, Cloudflare
optimized/96(good)0.930.95(needs improvement)2.60(good)32(good)0.0001.882.971443/3 Vercel, Netlify, Cloudflare
Book page /10145787
baseline/1014578797(good)1.520.23(needs improvement)2.58(good)3(good)0.0001.522.581083/3 Vercel, Netlify, Cloudflare
optimized/1014578799(good)0.930.59(good)2.05(good)0(good)0.0001.422.051453/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.

TanStack Start (Solid): latest benchmark per build, page and host
BuildPathHostPerfFCPRaw FCPLCPTBTCLSSITTIDocRunsStatus
TanStack Start (Solid)
baseline/Vercel84(good)1.511.30(poor)4.36(good)37(good)0.0002.444.361443/3OK
baseline/Netlify82(good)1.542.34(poor)4.36(good)47(good)0.0004.134.361753/3OK
baseline/Cloudflare85(good)1.510.23(poor)4.36(good)4(good)0.0001.514.36963/3OK
baseline/10145787Vercel97(good)1.510.24(needs improvement)2.59(good)8(good)0.0001.512.591413/3OK
baseline/10145787Netlify97(good)1.540.30(needs improvement)2.59(good)0(good)0.0011.542.591333/3OK
baseline/10145787Cloudflare97(good)1.510.16(needs improvement)2.56(good)0(good)0.0001.512.56493/3OK
optimized/Vercel98(good)0.930.27(good)2.40(good)26(good)0.0000.932.701223/3OK
optimized/Netlify91(good)0.932.37(needs improvement)3.30(good)44(good)0.0003.703.302223/3OK
optimized/Cloudflare99(good)0.930.21(good)2.10(good)26(good)0.0000.992.90893/3OK
optimized/10145787Vercel99(good)0.930.20(good)1.95(good)0(good)0.0000.931.951133/3OK
optimized/10145787Netlify98(good)0.941.33(good)2.25(good)0(good)0.0002.292.251663/3OK
optimized/10145787Cloudflare99(good)0.920.25(good)1.95(good)0(good)0.0001.021.951573/3OK