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.
- 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
- 01Production CSS inlining1st-party2 pts
1st-party, like 7 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
Styles written with the
css(...)mixin fromremix/componentare collected during server rendering, deduplicated and emitted as<style data-rmx-style>tags in the document head. Global stylesheets added with<link rel="stylesheet">andassets.getHref()stay linked files. (rendering-ui, component)Code example
Styles written with
css(...)and applied through themixprop 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> ); } - 02Font optimizationThird-party1 pt
Third-party, like 18 of the other 22 frameworks. 4 frameworks score higher.
Show the how-toHide 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">usingassets.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 fromgetHref().// 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-toHide the how-to
The asset server has a first-party transform pipeline:
files.transformsdefined withdefineFileTransform, requested asassets.getHref(path, { transform: [["resize", "400"], "webp"] }), withcreateFsFileCache()for results. The resize and format code is written by the app with the third-party Sharp library, and there is no image component orsrcsethelper. (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>
ManualServing 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 fromassets.getHref(). (files-and-assets)Example
There is no image component, so write
<picture>yourself. Resolve each crop and format withassets.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
- 04Data/HTML cachingManual0 pts
Manual, like 4 of the other 22 frameworks. 18 frameworks score higher.
Show the how-toHide the how-to
No prerender, ISR or data cache documented; actions return standard
Responseobjects and setCache-Controlby hand. Fingerprinted assets are served withCache-Control: public, max-age=31536000, immutable. (request-handling, assets)Code example
There is no data or HTML cache, so each action sets
Cache-Controlon its own response.context.render()takes aResponseInitfor 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-toHide the how-to
<a href="/products/shirt" data-rmx-prefetch="intent">or"viewport"loads the destination before navigation;prefetch()fromremix/componentdoes it from code. (component, interactivity)Code example
Add
data-rmx-prefetchto 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-toHide the how-to
Give a
<Frame src="...">afallback; the fallback is part of the initial HTML, and when the frame's route finishes Remix streams its HTML and replaces the fallback. Therender()middleware fromremix/middleware/renderstreams 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 afallbacksends 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
- 07Early Hints / preload headersManual0 pts
Manual, like 15 of the other 22 frameworks. 7 frameworks score higher.
Show the how-toHide the how-to
No first-party preload
Linkheaders or 103 Early Hints documented; the asset server returns modulepreloadsthat the document renders as<link rel="modulepreload">tags. Set aLinkheader by hand on the returnedResponse. (assets, files-and-assets)Code example
There is no Early Hints API, so set a
Linkpreload 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
- 08Islands / partial hydration / lazy slices1st-party2 pts
1st-party, like 14 of the other 22 frameworks. None scores higher.
Show the how-toHide 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
- 09Per-route render modesManual0 pts
Manual, like 3 of the other 22 frameworks. 19 frameworks score higher.
Show the how-toHide the how-to
Routes render on the server per request.
remix/sparuns 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 requestSource: Remix: Streaming UI with frames, render the response as a stream
- 10Fine-grained client reactivityManual0 pts
Manual: the only framework of 23 with this label. 22 frameworks score higher.
Show the how-toHide 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
- 11Built-in bundle analysisManual0 pts
Manual: the only framework of 23 with this label. 22 frameworks score higher.
Show the how-toHide 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 assetslists every reachable file andremix assets inspect <url-or-file>explains one mapping; neither reports sizes. (files-and-assets, assets)Code example
There is no bundle. The
remix assetsCLI lists every file the browser can reach and explains one URL. It reads theassetssection ofremix.jsonand 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.tsSource: Remix: Files and assets, debug asset URLs with remix assets
- 12Third-party script strategiesManual0 pts
Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.
Show the how-toHide 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>withasyncordefer.// 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
- 13Portable multi-host deploymentManual0 pts
Manual, like 8 of the other 22 frameworks. 14 frameworks score higher.
Show the how-toHide 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 callrouter.fetchdirectly.// 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; - 14Service worker / offline supportManual0 pts
Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.
Show the how-toHide 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.jsby hand, serve it from the rootpublic/directory withstaticFiles()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"); }
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
Branch
main
baseline
- Vercel
- remix3-books.vercel.app
- Netlify
- remix3-books.netlify.app
- Cloudflare
- remix3-books.to-email-max.workers.dev
Branch
optimized
streamed frames + prefetch + fonts + catalog cache + cover preloads + asset headers
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.51 | 1.67 | (poor)4.36 | (good)0 | (good)0.000 | 3.10 | 4.36 | 160 | 3/3 Vercel, Netlify, Cloudflare |
| optimized | / | 87 | (good)0.91 | 0.95 | (poor)4.06 | (good)0 | (good)0.000 | 1.90 | 4.06 | 113 | 3/3 Vercel, Netlify, Cloudflare |
| Book page /10145787 | |||||||||||
| baseline | /10145787 | 96 | (good)1.51 | 0.63 | (needs improvement)2.66 | (good)0 | (good)0.000 | 1.83 | 2.66 | 126 | 3/3 Vercel, Netlify, Cloudflare |
| optimized | /10145787 | 98 | (good)0.91 | 0.99 | (good)2.28 | (good)3 | (good)0.000 | 1.83 | 2.28 | 164 | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Remix 3 | |||||||||||||
| baseline | / | Vercel | 84 | (good)1.51 | 0.32 | (poor)4.50 | (good)0 | (good)0.000 | 1.51 | 4.50 | 139 | 3/3 | OK |
| baseline | / | Netlify | 84 | (good)1.51 | 2.35 | (poor)4.21 | (good)0 | (good)0.000 | 3.90 | 4.21 | 177 | 3/3 | OK |
| baseline | / | Cloudflare | 83 | (good)1.51 | 2.34 | (poor)4.36 | (good)0 | (good)0.000 | 3.89 | 4.36 | 165 | 3/3 | OK |
| baseline | /10145787 | Vercel | 96 | (good)1.51 | 0.34 | (needs improvement)2.71 | (good)0 | (good)0.000 | 1.54 | 2.71 | 137 | 3/3 | OK |
| baseline | /10145787 | Netlify | 96 | (good)1.52 | 1.30 | (needs improvement)2.57 | (good)0 | (good)0.000 | 2.45 | 2.57 | 127 | 3/3 | OK |
| baseline | /10145787 | Cloudflare | 96 | (good)1.51 | 0.26 | (needs improvement)2.71 | (good)0 | (good)0.000 | 1.51 | 2.71 | 113 | 3/3 | OK |
| optimized | / | Vercel | 87 | (good)0.91 | 0.21 | (poor)4.06 | (good)0 | (good)0.000 | 0.92 | 4.06 | 84 | 3/3 | OK |
| optimized | / | Netlify | 87 | (good)0.91 | 2.33 | (needs improvement)3.92 | (good)0 | (good)0.000 | 3.63 | 3.92 | 121 | 3/3 | OK |
| optimized | / | Cloudflare | 86 | (good)0.91 | 0.32 | (poor)4.21 | (good)0 | (good)0.000 | 1.14 | 4.21 | 133 | 3/3 | OK |
| optimized | /10145787 | Vercel | 99 | (good)0.91 | 0.21 | (good)2.26 | (good)0 | (good)0.000 | 0.91 | 2.26 | 77 | 3/3 | OK |
| optimized | /10145787 | Netlify | 98 | (good)0.91 | 1.32 | (good)2.29 | (good)7 | (good)0.000 | 2.22 | 2.29 | 134 | 3/3 | OK |
| optimized | /10145787 | Cloudflare | 98 | (good)0.91 | 1.43 | (good)2.30 | (good)3 | (good)0.000 | 2.37 | 2.30 | 280 | 3/3 | OK |