Skip to content

Remix 3

Remix 3 scores 10 of 28 points. That is 8 of 14 on the 7 features that affect first paint (the moment the browser first draws content), and 2 of 14 on the 7 other features.

Rank 21 of 2310/28 points: 8/14 first-paint, 2/14 other · 36% complete
Version checked
remix 3.3.0 (npm latest on 2026-11-25; docs at docs.remix.run)
Version notes
Remix 3 is a new framework with its own component runtime (remix/component); it does not use React and is separate from React Router.
Performance guide
Files and Assets | Remix GuidesNo dedicated performance page; closest official page.
Issues
github.com/remix-run/remix/issues

Scorecard

All 14 features, in two groups. Each row shows Remix 3's label, how that label compares across all 23 frameworks, and how to enable the feature. Feature names link to Remix 3's entry on that feature's page.

Remix 3's labels across 14 features

  • 1st-party4
  • Experimental0
  • Third-party2
  • Manual8
  • of 14

How it compares

On 4 of 14 features, no framework has a higher-scoring label than Remix 3. On the other 10, at least one does.

First-paint levers

8/14
  • 1st-party, like 7 of the other 22 frameworks. None scores higher.

    Show the how-to

    Styles written with the css(...) mixin from remix/component are collected during server rendering, deduplicated and emitted as <style data-rmx-style> tags in the document head. Global stylesheets added with <link rel="stylesheet"> and assets.getHref() stay linked files. (rendering-ui, component)

    Code example

    Styles written with css(...) and applied through the mix prop are collected during server rendering. Remix dedupes them and writes them into <style data-rmx-style> tags in the document head.

    // app/ui/book-card.tsx
    import { css } from "remix/component";
    import type { Handle } from "remix/component";
    
    export function BookCard(handle: Handle<{ title: string; author: string }>) {
      return () => (
        <article
          mix={css({
            border: "1px solid #d6d6d6",
            borderRadius: "12px",
            padding: "1rem",
            "&:hover": { borderColor: "#6d28d9" },
            "@media (max-width: 40rem)": { borderRadius: 0 },
          })}
        >
          <h2>{handle.props.title}</h2>
          <p>{handle.props.author}</p>
        </article>
      );
    }

    Source: Remix: Rendering UI, styling with css

  • 02Font optimizationThird-party1 pt

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

    Show the how-to

    No first-party font module documented. The asset server rewrites url() references in CSS, and a font preload is a hand-written <link rel="preload" as="font"> using assets.getHref(); the third-party route is Fontsource. (files-and-assets)

    Code example

    Install Fontsource, allow the package in the asset server, and link its stylesheet. The asset server rewrites the url() references in the CSS. The preload is a hand-written <link> with a URL from getHref().

    // app/assets.ts  (npm i @fontsource-variable/inter)
    export const assets = createAssetServer({
      // …
      allowPackages: ["remix", "@fontsource-variable/inter"],
      files: { extensions: [".svg", ".png", ".jpg", ".woff2"] },
    });
    
    export const fontCssHref = await assets.getHref(
      "node_modules/@fontsource-variable/inter/index.css",
    );
    export const fontHref = await assets.getHref(
      "node_modules/@fontsource-variable/inter/files/inter-latin-wght-normal.woff2",
    );
    
    // app/actions/document.tsx, inside <head>
    <link rel="preload" href={fontHref} as="font" type="font/woff2" crossOrigin="anonymous" />
    <link rel="stylesheet" href={fontCssHref} />

    Source: Remix: Files and assets, reference styles, images, and fonts

  • 03Image pipelineThird-party1 pt

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

    Show the how-to

    The asset server has a first-party transform pipeline: files.transforms defined with defineFileTransform, requested as assets.getHref(path, { transform: [["resize", "400"], "webp"] }), with createFsFileCache() for results. The resize and format code is written by the app with the third-party Sharp library, and there is no image component or srcset helper. (files-and-assets, assets)

    Code example

    The asset server runs named file transforms that the app writes with Sharp. A URL picks the chain, and createFsFileCache() keeps the results on disk.

    // app/assets.ts  (npm i sharp)
    import { createAssetServer, createFsFileCache, defineFileTransform } from "remix/assets";
    import sharp from "sharp";
    
    export const assets = createAssetServer({
      // …
      files: {
        extensions: [".png", ".jpg"],
        transforms: {
          resize: defineFileTransform({
            extensions: [".png", ".jpg"],
            param: true,
            // check that param is a width in range before using it
            transform: (bytes, { param }) => sharp(bytes).resize({ width: Number(param) }).toBuffer(),
          }),
          webp: defineFileTransform({
            extensions: [".png", ".jpg"],
            transform: async (bytes) => ({ content: await sharp(bytes).webp().toBuffer(), extension: ".webp" }),
          }),
        },
        cache: createFsFileCache(),
      },
    });
    
    // in an action
    let coverHref = await assets.getHref("app/ui/public/cover.jpg", { transform: [["resize", "400"], "webp"] });

    Source: Remix: Files and assets, transform images and other files

    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.

    No first-party <picture> helper documented; hand-write <picture> with transform URLs from assets.getHref(). (files-and-assets)

    Example

    There is no image component, so write <picture> yourself. Resolve each crop and format with assets.getHref() transforms in the action and pass the URLs in as props.

    // app/ui/hero-image.tsx
    import type { Handle } from "remix/component";
    import { assets } from "../assets.ts";
    
    export async function getHeroSources() {
      let get = (file: string, transform: (string | [string, string])[]) => assets.getHref(`app/ui/public/${file}`, { transform });
      return {
        square: await get("hero-square.jpg", [["resize", "640"], "webp"]),
        wide: await get("hero-wide.jpg", [["resize", "1280"], "webp"]),
        fallback: await get("hero-wide.jpg", [["resize", "1280"]]),
      };
    }
    
    export function HeroImage(handle: Handle<Awaited<ReturnType<typeof getHeroSources>>>) {
      return () => (
        <picture>
          {/* art direction: a square crop on narrow screens */}
          <source media="(max-width: 640px)" type="image/webp" srcset={handle.props.square} />
          <source type="image/webp" srcset={handle.props.wide} />
          <img src={handle.props.fallback} alt="Shelves of books" width={1280} height={720}
               fetchpriority="high" decoding="async" />
        </picture>
      );
    }

    Source: Remix: Files and assets, transform images and other files

  • Manual, like 4 of the other 22 frameworks. 18 frameworks score higher.

    Show the how-to

    No prerender, ISR or data cache documented; actions return standard Response objects and set Cache-Control by hand. Fingerprinted assets are served with Cache-Control: public, max-age=31536000, immutable. (request-handling, assets)

    Code example

    There is no data or HTML cache, so each action sets Cache-Control on its own response. context.render() takes a ResponseInit for that.

    // app/actions/books/controller.tsx
    import { createController } from "remix/router";
    import { routes } from "../../routes.ts";
    import { getBook } from "./data.ts";
    import { BookPage } from "./show-page.tsx";
    
    export default createController(routes.books, {
      actions: {
        async show(context) {
          let book = await getBook(context.params.bookId);
          if (!book) return new Response("Book not found", { status: 404 });
    
          return context.render(<BookPage book={book} />, {
            headers: { "Cache-Control": "public, max-age=60, s-maxage=300, stale-while-revalidate=600" },
          });
        },
      },
    });

    Source: Remix: Rendering UI, rendering pages through request context

  • 05Route prefetching1st-party2 pts

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

    Show the how-to

    <a href="/products/shirt" data-rmx-prefetch="intent"> or "viewport" loads the destination before navigation; prefetch() from remix/component does it from code. (component, interactivity)

    Code example

    Add data-rmx-prefetch to a link to load the destination on hover or focus (intent) or when it scrolls into view (viewport). prefetch() does the same from code.

    // app/ui/book-link.tsx
    import { prefetch } from "remix/component";
    import type { Handle } from "remix/component";
    import { routes } from "../routes.ts";
    
    export function BookLink(handle: Handle<{ bookId: string; title: string }>) {
      return () => (
        <a href={routes.books.show.href({ bookId: handle.props.bookId })} data-rmx-prefetch="intent">
          {handle.props.title}
        </a>
      );
    }
    
    // elsewhere, from custom logic
    prefetch(routes.books.show.href({ bookId: "dune" }));

    Source: Remix: Interactivity, prefetch links before navigation

  • 06Streaming SSR1st-party2 pts

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

    Show the how-to

    Give a <Frame src="..."> a fallback; the fallback is part of the initial HTML, and when the frame's route finishes Remix streams its HTML and replaces the fallback. The render() middleware from remix/middleware/render streams the component tree. A frame without a fallback blocks the first chunk. (streaming-ui-with-frames)

    Code example

    The render() middleware streams the component tree. A <Frame> with a fallback sends the fallback in the first chunk, then streams the frame route's HTML when it is ready.

    // app/router.ts
    import { render } from "remix/middleware/render";
    import { createRouter } from "remix/router";
    import { assets } from "./assets.ts";
    
    export const router = createRouter({
      middleware: [render({ assets })],
    });
    
    // app/actions/books/show-page.tsx
    <main>
      <h1>{book.title}</h1>
      <Frame
        src={routes.books.reviews.href({ bookId: book.id })}
        fallback={<p>Loading reviews…</p>}
      />
    </main>

    Source: Remix: Streaming UI with frames, stream a fallback first

  • Manual, like 15 of the other 22 frameworks. 7 frameworks score higher.

    Show the how-to

    No first-party preload Link headers or 103 Early Hints documented; the asset server returns module preloads that the document renders as <link rel="modulepreload"> tags. Set a Link header by hand on the returned Response. (assets, files-and-assets)

    Code example

    There is no Early Hints API, so set a Link preload header yourself on the response the action returns.

    // app/actions/books/controller.tsx
    import { assets, stylesheetHref } from "../../assets.ts";
    
    // inside the show action:
    let coverHref = await assets.getHref("app/ui/public/cover.jpg");
    
    return context.render(<BookPage book={book} coverHref={coverHref} />, {
      headers: {
        Link: [
          `<${stylesheetHref}>; rel=preload; as=style`,
          `<${coverHref}>; rel=preload; as=image; fetchpriority=high`,
        ].join(", "),
      },
    });

    Source: Remix: Rendering UI, rendering pages through request context

Other features

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

    Show the how-to

    Pages are server-rendered HTML; only components wrapped in clientEntry(import.meta.url, Component) hydrate. <Frame src="..." fallback={...}> streams a server-rendered region into the page and can load it lazily. (interactivity, streaming-ui-with-frames)

    Code example

    Pages are server HTML. Only a component wrapped in clientEntry(import.meta.url, ...) is loaded and hydrated in the browser, with its props serialized into the page.

    // app/actions/books/public/add-to-cart.tsx
    import { clientEntry, on } from "remix/component";
    import type { Handle } from "remix/component";
    
    export const AddToCart = clientEntry(
      import.meta.url,
      function AddToCart(handle: Handle<{ bookId: string }>) {
        let added = false;
        return () => (
          <button
            type="button"
            mix={on("click", () => {
              added = true;
              handle.update();
            })}
          >
            {added ? "Added" : "Add to cart"}
          </button>
        );
      },
    );

    Source: Remix: Interactivity, hydration boundaries with clientEntry

  • Manual, like 3 of the other 22 frameworks. 19 frameworks score higher.

    Show the how-to

    Routes render on the server per request. remix/spa runs a whole app as a client-rendered app; no per-route prerender or SPA switch is documented. (spa, request-handling)

    Code example

    Every route renders per request. To serve one page as static HTML, render it once at startup with renderToString() and return the stored string from that route.

    // app/router.ts
    import { renderToString } from "remix/component/server";
    import { render } from "remix/middleware/render";
    import { createHtmlResponse } from "remix/response/html";
    import { createRouter } from "remix/router";
    import { assets } from "./assets.ts";
    import { AboutPage } from "./actions/about-page.tsx";
    
    // rendered once, when the server starts
    const aboutHtml = await renderToString(<AboutPage />);
    
    export const router = createRouter({ middleware: [render({ assets })] });
    
    router.get("/about", () =>
      createHtmlResponse(aboutHtml, { headers: { "Cache-Control": "public, max-age=3600" } }),
    );
    // all other routes: context.render(...) on each request

    Source: Remix: Streaming UI with frames, render the response as a stream

  • Manual: the only framework of 23 with this label. 22 frameworks score higher.

    Show the how-to

    State is a plain variable and the component re-renders only when the app calls handle.update(); there are no signals and no dependency tracking. (interactivity, component)

    Code example

    State is a plain variable in setup scope. The component renders again only when you call handle.update().

    // app/ui/public/counter.tsx
    import { on } from "remix/component";
    import type { Handle } from "remix/component";
    
    export function Counter(handle: Handle<{ initialCount: number }>) {
      let count = handle.props.initialCount;
    
      return () => (
        <button
          type="button"
          mix={on("click", () => {
            count++;
            handle.update();
          })}
        >
          Count: {count}
        </button>
      );
    }

    Source: Remix: Interactivity, state, updates, and post-render tasks

  • Manual: the only framework of 23 with this label. 22 frameworks score higher.

    Show the how-to

    There are no bundles to analyze: the asset server compiles modules on request and the browser loads them one by one. remix assets lists every reachable file and remix assets inspect <url-or-file> explains one mapping; neither reports sizes. (files-and-assets, assets)

    Code example

    There is no bundle. The remix assets CLI lists every file the browser can reach and explains one URL. It reads the assets section of remix.json and does not report sizes.

    // remix.json
    {
      "$schema": "./node_modules/remix/schema/remix.json",
      "assets": {
        "basePath": "/assets",
        "allowFiles": ["app/routes.ts", "app/**/public/**"],
        "allowPackages": ["remix"],
        "files": { "extensions": [".svg", ".png", ".jpg", ".woff2"] }
      }
    }
    npx remix assets                                   # URL -> file for every reachable file
    npx remix assets inspect /assets/app/ui/public/cart.ts

    Source: Remix: Files and assets, debug asset URLs with remix assets

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

    Show the how-to

    No first-party script-loading strategy documented; add <script> tags to the document by hand. (rendering-ui)

    Code example

    There is no script loader. Put the <script> tag in the document shell's <head> with async or defer.

    // app/actions/document.tsx
    export function Document(handle: Handle<DocumentProps>) {
      return () => (
        <html lang="en">
          <head>
            <meta charSet="utf-8" />
            <title>{handle.props.title ?? "Books"}</title>
            {/* … import map, module preloads, entry script */}
            <script async src="https://plausible.io/js/script.js" data-domain="books.example.com"></script>
          </head>
          <body>{handle.props.children}</body>
        </html>
      );
    }

    Source: Remix: Rendering UI, document shells and head content

  • Manual, like 8 of the other 22 frameworks. 14 frameworks score higher.

    Show the how-to

    The router is a Fetch handler. Node runs it through remix/node-fetch-server, and the docs show Bun, Deno and Cloudflare Worker entries; the static-file and compression middleware are Node-only. No Vercel or Netlify setup is documented, and the Production chapter covers the Node server. (request-handling, production, node-fetch-server)

    Code example

    The router is a Fetch handler. Node wraps it with createRequestListener; Bun, Deno and Workers call router.fetch directly.

    // server.ts (Node)
    import * as http from "node:http";
    import { createRequestListener } from "remix/node-fetch-server";
    import { router } from "./app/router.ts";
    
    http.createServer(createRequestListener(router.fetch)).listen(44100);
    
    // server.ts (Bun)
    Bun.serve({ port: 44100, fetch: (request) => router.fetch(request) });
    
    // server.ts (Deno)
    Deno.serve({ port: 44100 }, router.fetch);
    
    // worker.ts (Cloudflare)
    export default { fetch: (request) => router.fetch(request) } satisfies ExportedHandler;

    Source: Remix: Request handling, alternate runtimes

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

    Show the how-to

    No service worker support documented in the Remix 3 guides or API reference. Hand-write the worker, serve it through the asset server or a static route, and register it from a client entry. (files-and-assets)

    Code example

    Write sw.js by hand, serve it from the root public/ directory with staticFiles() so its scope is /, and register it from the browser entry.

    // app/router.ts
    export const router = createRouter({
      middleware: [staticFiles("./public", { index: false }), render({ assets })],
    });
    
    // app/actions/public/entry.ts
    import { run } from "remix/component";
    
    let app = run({ /* loadModule, … */ });
    await app.ready();
    
    if ("serviceWorker" in navigator) {
      navigator.serviceWorker.register("/sw.js");
    }

    Source: Remix: Request handling, common middleware

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
remix3-books
Repository
github.com/MaxwellCohen/remix3-books

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.

Remix 3: latest benchmark per build and page
BuildPathPerfFCPRaw FCPLCPTBTCLSSITTIDocHosts
Book list /
baseline/84(good)1.511.67(poor)4.36(good)0(good)0.0003.104.361603/3 Vercel, Netlify, Cloudflare
optimized/87(good)0.910.95(poor)4.06(good)0(good)0.0001.904.061133/3 Vercel, Netlify, Cloudflare
Book page /10145787
baseline/1014578796(good)1.510.63(needs improvement)2.66(good)0(good)0.0001.832.661263/3 Vercel, Netlify, Cloudflare
optimized/1014578798(good)0.910.99(good)2.28(good)3(good)0.0001.832.281643/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.

Remix 3: latest benchmark per build, page and host
BuildPathHostPerfFCPRaw FCPLCPTBTCLSSITTIDocRunsStatus
Remix 3
baseline/Vercel84(good)1.510.32(poor)4.50(good)0(good)0.0001.514.501393/3OK
baseline/Netlify84(good)1.512.35(poor)4.21(good)0(good)0.0003.904.211773/3OK
baseline/Cloudflare83(good)1.512.34(poor)4.36(good)0(good)0.0003.894.361653/3OK
baseline/10145787Vercel96(good)1.510.34(needs improvement)2.71(good)0(good)0.0001.542.711373/3OK
baseline/10145787Netlify96(good)1.521.30(needs improvement)2.57(good)0(good)0.0002.452.571273/3OK
baseline/10145787Cloudflare96(good)1.510.26(needs improvement)2.71(good)0(good)0.0001.512.711133/3OK
optimized/Vercel87(good)0.910.21(poor)4.06(good)0(good)0.0000.924.06843/3OK
optimized/Netlify87(good)0.912.33(needs improvement)3.92(good)0(good)0.0003.633.921213/3OK
optimized/Cloudflare86(good)0.910.32(poor)4.21(good)0(good)0.0001.144.211333/3OK
optimized/10145787Vercel99(good)0.910.21(good)2.26(good)0(good)0.0000.912.26773/3OK
optimized/10145787Netlify98(good)0.911.32(good)2.29(good)7(good)0.0002.222.291343/3OK
optimized/10145787Cloudflare98(good)0.911.43(good)2.30(good)3(good)0.0002.372.302803/3OK