Skip to content
Pyreon vs React

React ships 3.8× more JavaScript for the same app.

Keep JSX, function components and TypeScript. Lose the re-render: a Pyreon component runs once, and a signal updates only the DOM node that reads it, so there is nothing to memoise and no dependency array to get wrong.

npm create @pyreon/zero@latest
  • 3.8× less JavaScript: 18.5 KB against React's 69.6 KB for the same keyed-table app (gzip)2026-11-24 refresh, sizes are deterministic
  • 2.7× faster to create 10,000 rows: 73.1 ms against 195.9 msreal Chromium, run 1 table of a two-run refresh (2026-11-24); synthetic, author-run
  • 6.5× faster server rendering at 1,000 rows: 109.9 µs against 714.4 µs per rendercompiled SSR, one run (overnight)

Synthetic, author-run, Apple M3 Max, real Chromium unless noted. Reproduce: pyreon.dev/docs/benchmarks

Every result, including where we lose →
side by side

Pyreon and React, line by line.

Numbers from the 5 Nov 2026 record against React 19.3.1. Where React is ahead, the row says so. Synthetic, author-run, Apple M3 Max, real Chromium unless noted. Reproduce: pyreon.dev/docs/benchmarks

  • PyreonPyreon is ahead on the record
  • React aheadReact is ahead, and we say so
  • tieconfidence intervals overlap
  • differentno winner: they work differently
Measured against react / react-dom 19.3.1
TopicPyreonReactVerdict
Bundle, same keyed-table app (gzip)18.5 KB69.6 KBPyreon
Create 10,000 rows73.1 ms195.9 ms (2.7× slower)Pyreon
Swap two rows in 1,000745 µs5.92 msPyreon
Remove a row5.70 ms6.01 ms (1.05× slower in both runs)Pyreon
Mount a deep tree (2,047 components)3.09 / 3.03 ms3.46 / 3.47 ms (1.12–1.15× slower in both runs)Pyreon
TodoMVC shape: toggle 1,000 / clear 1,0004.60 ms / 320 µs11.41 ms / 1.00 ms (2.48× / 3.14×; add-100 varies 1.14–1.99× day to day; one run)Pyreon
Server rendering, 10 / 100 / 1,000 rows1.80 / 11.64 / 109.9 µs10.30 / 76.52 / 714.4 µs (5.7–6.6× slower, one run)Pyreon
Hydration: 1,000-row table / 320-component page6.07 ms / 4.02 ms6.52 ms / 4.15 ms; both adopt every server node (page: one run)Pyreon
Retained heap after the row suite3.21 MB3.55 MB (one value per pass, the same in all ten passes)Pyreon
Update modelThe component body runs once; a signal change re-runs only the bindings that read it.The component function re-runs on every state change; useMemo, useCallback and memo limit the cost.different
Concurrent renderingNo concurrent scheduler: updates are synchronous and touch only the changed nodes.Transitions and deferred values let React interrupt and prioritise rendering.React ahead
Library ecosystem86 first-party packages (router, forms, query, charts, flow, table, i18n…); React libraries that use only public hooks can run through @pyreon/react-compat.A far larger third-party catalog: component kits, React Flow, react-aria and thousands more, all running as-is.React ahead
Production track recordNo adoption claims yet.Over a decade in production and the largest hiring pool in front-end.React ahead
Mobile from the same codeThe same .tsx compiles to SwiftUI and Jetpack Compose with PMTC (experimental).React Native shares the language and the model; it is production-grade.different

Synthetic, author-run, Apple M3 Max, real Chromium unless noted. Reproduce: pyreon.dev/docs/benchmarks Method and every result →

measured

The measured rows, drawn.

Pyreon vs React: measured Pyreon vs React, the measured rows from the page's table: Bundle, same keyed-table app (gzip): Pyreon 18.5 KB, React 69.6 KB (Pyreon ahead); Create 10,000 rows: Pyreon 73.1 ms, React 195.9 ms (2.7× slower) (Pyreon ahead); Swap two rows in 1,000: Pyreon 745 µs, React 5.92 ms (Pyreon ahead); Remove a row: Pyreon 5.70 ms, React 6.01 ms (1.05× slower in both runs) (Pyreon ahead); Mount a deep tree (2,047 components): Pyreon 3.09 / 3.03 ms, React 3.46 / 3.47 ms (1.12–1.15× slower in both runs) (Pyreon ahead); TodoMVC shape: toggle 1,000 / clear 1,000: Pyreon 4.60 ms / 320 µs, React 11.41 ms / 1.00 ms (2.48× / 3.14×; add-100 varies 1.14–1.99× day to day; one run) (Pyreon ahead); Server rendering, 10 / 100 / 1,000 rows: Pyreon 1.80 / 11.64 / 109.9 µs, React 10.30 / 76.52 / 714.4 µs (5.7–6.6× slower, one run) (Pyreon ahead); Hydration: 1,000-row table / 320-component page: Pyreon 6.07 ms / 4.02 ms, React 6.52 ms / 4.15 ms; both adopt every server node (page: one run) (Pyreon ahead); Retained heap after the row suite: Pyreon 3.21 MB, React 3.55 MB (one value per pass, the same in all ten passes) (Pyreon ahead). PYREON VS REACT · MEASURED ROWS · LOWER IS BETTERPyreon and React, line by line.Bundle, same keyed-table app (gzip)PYREON18.5 KBPyreon69.6 KBReactCreate 10,000 rowsPYREON73.1 msPyreon195.9 msReactSwap two rows in 1,000PYREON745 µsPyreon5.92 msReactRemove a rowPYREON5.70 msPyreon6.01 msReactMount a deep tree (2,047 components)PYREON3.03 msPyreon3.47 msReactTodoMVC shape: toggle 1,000 / clear 1,000PYREON4.60 msPyreon11.41 msReactServer rendering, 10 / 100 / 1,000 rowsPYREON109.9 µsPyreon714.4 µsReactHydration: 1,000-row table / 320-component pagePYREON6.07 msPyreon6.52 msReactRetained heap after the row suitePYREON3.21 MBPyreon3.55 MBReactsynthetic · author-run · M3 Max · record refreshed 2026-11-24 · run conditions per row on the page

Synthetic, author-run, Apple M3 Max, real Chromium unless noted. Reproduce: pyreon.dev/docs/benchmarks

How we measure →
same component

The same search box, twice.

Both filter a list as you type. The React version re-runs the whole function on every keystroke and memoises to stay fast. The Pyreon version runs once; the input, the count and the list each update on their own.

React 19 · Search.tsx
import { useMemo, useState } from 'react'

type Item = { id: number; name: string }

export function Search({ items }: { items: Item[] }) {
  const [query, setQuery] = useState('')
  const visible = useMemo(
    () => items.filter((i) => i.name.toLowerCase().includes(query.toLowerCase())),
    [items, query],
  )

  return (
    <div>
      <input value={query} onChange={(e) => setQuery(e.target.value)} />
      <p>{visible.length} matches</p>
      <ul>
        {visible.map((i) => (
          <li key={i.id}>{i.name}</li>
        ))}
      </ul>
    </div>
  )
}
Pyreon · Search.tsx
import { For } from '@pyreon/core'
import { computed, signal } from '@pyreon/reactivity'

type Item = { id: number; name: string }

export function Search(props: { items: Item[] }) {
  const query = signal('')
  const visible = computed(() =>
    props.items.filter((i) => i.name.toLowerCase().includes(query().toLowerCase())),
  )

  return (
    <div>
      <input value={query()} onInput={(e) => query.set(e.currentTarget.value)} />
      <p>{visible().length} matches</p>
      <ul>
        <For each={visible()} by={(i) => i.id}>
          {(i) => <li>{i.name}</li>}
        </For>
      </ul>
    </div>
  )
}

React side: typechecked with @types/react 19.3 under tsc --strict. Pyreon side: typechecked against the repo's tsconfig (0 errors), compiled with the real JSX compiler (transformJSX) and mounted in happy-dom; typing into the input filters the list.

the code you delete

What you stop writing.

  • stop writing
    Stop writing: useMemo(fn, deps)Instead: computed(fn): it tracks what it reads, so there is no dependency list.
  • stop writing
    Stop writing: useCallbackInstead: A plain function. The component runs once, so the closure is created once.
  • stop writing
    Stop writing: React.memoInstead: Nothing. A parent update never re-runs a child component.
  • stop writing
    Stop writing: Dependency arraysInstead: None, anywhere. effect and computed subscribe to the signals they read.
migration

Bring your React app with you.

Point react at @pyreon/react-compat, keep shipping, and convert one component at a time.

When to pick React

  • Your app leans on React-only libraries (a component kit, React Flow, react-aria) and swapping them is not on the plan.
  • You need concurrent rendering: transitions that interrupt work, deferred values.
  • Hiring and a long production record weigh more for you than bundle size or update cost.
  • You share code with a React Native app that ships today.

Write it once. Watch it run once.

npm create @pyreon/zero@latest
Every result, including where we lose