Skip to content
Open source · MIT · web stable, native experimental

Your component runs once. Ever.

Pyreon updates the one DOM node that changed, so there is nothing to memoise and nothing re-renders. Full stack on the web today, and the same .tsx compiles to SwiftUI and Jetpack Compose (experimental).

npm create @pyreon/zero@latest
TodayApp.tsxthe only source · abridged
import { For, Show } from '@pyreon/core'
import { computed, signal } from '@pyreon/reactivity'
import { Field, Inline, Press, Stack, Text, Toggle } from '@pyreon/primitives'

export function TodayApp() {
  const todos = signal<Todo[]>([/* three todos */])
  const draft = signal('')
  const left = computed(() => todos().filter((t) => !t.done).length)
  const add = () => { /* push draft(), clear it */ }

  return (
    <Stack gap={4}>
      <Inline align="center">
        <Text size="xl" weight="bold">Today</Text>
        <Text size="sm">{`${left()} left`}</Text>
      </Inline>
      <Field value={draft()} onChangeText={(t) => draft.set(t)} onSubmit={add} />
      <For each={todos()} by={(t) => t.id}>
        {(t) => <TodoRow todo={t} onToggle={() => toggle(t.id)} onRemove={() => remove(t.id)} />}
      </For>
    </Stack>
  )
}
The same todo app, Today, running in a browser, in an iOS Simulator and in an Android emulator. A todo is added, one is marked done and one is removed, in step on all three.The same todo app, Today, running in a browser, in an iOS Simulator and in an Android emulator. A todo is added, one is marked done and one is removed, in step on all three.
  • Webserver-rendered HTML, hydrated
  • iOSgenerated SwiftUI · experimental
  • Androidgenerated Compose · experimental
  • Water the basil
  • Book the dentist
  • Call Grandma back

Real captures: Chromium, an iOS Simulator and an Android emulator, all built from this one file. Typing is sped up. Source: examples/native-showcase.

TodayApp.tsx
  • Webserver-rendered HTML, hydrated
  • iOSgenerated SwiftUI · experimental
  • Androidgenerated Compose · experimental

Same app. Less code shipped, less work done.

  • 3.8× less JavaScript than React 19 for the same app18.5 KB vs 69.6 KB gzip
  • 2.7× faster than React 19 creating 10,000 rows74.3 ms vs 198.6 ms
  • 6.5× faster server rendering than React 191,000 rows: 109.9 µs vs 714.4 µs; 5.7× at 10 rows

synthetic · author-run · M3 Max · rows 2026-11-26, bundle 2026-11-24, SSR 2026-11-05

Every result, including where we lose
Components run once

No re-renders. Just updates.

Your component function runs one time. When a signal changes, Pyreon writes to the exact text node or attribute that reads it. Click the counter: the component never runs again.

  • 10,000 rows vs React 19
    2.7× faster
    win
  • 10,000 rows vs Preact
    3.9× faster
    win
  • Select a row, batch-timed vs Octane
    1.78–1.85× faster, both runs
    win
  • Create 1,000, replace, partial update, remove, append vs Vue Vapor, Octane, Vue 3
    level with the fastest; create 10,000, clear rows and swap split
    tie
  • Clear rows, batch-timed vs Octane
    Octane 1.02× faster in one session, a tie in two
    split

synthetic · author-run · two runs · M3 Max · real Chromium, nine other frameworks, 95% intervals

Full results, method and every loss
function Counter() {
  const count = signal(0)
  return (
    <button onClick={() => count.update((n) => n + 1)}>
      {count()}
    </button>
  )
}
0
  • component runs1
  • text node writes0
  • nodes diffed0

Real @pyreon/core counter. Each click increments 'text node writes' and pulses the number (brand signal pulse, 200 ms). 'component runs' stays 1.

Re-render versus components that run once Two copies of the same component tree (App with Nav, Counter and Footer; Counter with Label, a button and Hint). On each click, the re-render model runs Counter, Label and Hint again and diffs the result to find one changed text node. In Pyreon nothing runs again: the one text node inside the button is written directly, shown by a brief ember pulse. RE-RENDER MODEL PYREON AppNavCounterFooterLabel<button>Hint 01230 text node AppNavCounterFooterLabel<button>Hint 01230 text node 3 components run again per click then a diff finds 1 text change 0 components run again 1 text node written, nothing diffed
The code you delete

Delete useMemo. Delete useCallback. Delete every dependency array.

React re-runs your component on every change, so you write code to stop it. Pyreon never re-runs it, so that code has nothing left to do.

Why components run once →
  • removed: const [count, setCount] = useState(0)
  • added: const count = signal(0)
  • removed: const double = useMemo(() => count * 2, [count])
  • added: const double = computed(() => count() * 2)
  • removed: const inc = useCallback(() => setCount((c) => c + 1), [])
  • added: const inc = () => count.update((c) => c + 1)
  • removed: const Row = React.memo(function Row({ item }) { … })
  • added: function Row(props) { … } // runs once anyway

Your component runs once. Nothing to memoise.

Benchmarks

Numbers worth a screenshot.

Head-to-heads against the libraries you would otherwise install. We also print every loss. It's a whole section.

synthetic · author-run · M3 Max · record of 2026-11-05

Read where we lose
How it compares

Other teams maintain two codebases. You maintain one.

Shipping a website and phone apps, the usual ways. What we do best comes first; the rows that don't flatter us come last, and they are not small print.

PyreonNext.js + React NativeExpoFlutterCapacitor
CodebasesOneTwo, sharing some logicOneOneOne
WebSSR, SSG, ISR, islands, SPA per routeExcellent (Next.js)Expo Router web; SSR still maturingCanvas rendering, weaker SEOIt is the web
UI on the phoneGenerated SwiftUI / ComposePlatform widgetsPlatform widgetsDraws its own pixelsA web view
JS or VM runtime on the phoneNone: compiled Swift and KotlinHermes JS engineHermes JS engineDart runtimeWeb view engine
Forms, data, i18n, validationBuilt in, one versionPick and wire your ownPick and wire your ownSeparate packagesPick and wire your own
Re-renders to tuneNone: components run onceYes (React)Yes (React)Widget rebuildsDepends on the web framework
Over-the-air updatesNot for native logic (it is compiled)EAS Update (with Expo)EAS UpdateThird-partyThird-party
MaturityWeb: stable. iOS and Android: experimentalProductionProductionProductionProduction

Pyreon

Codebases
One
Web
SSR, SSG, ISR, islands, SPA per route
UI on the phone
Generated SwiftUI / Compose
JS or VM runtime on the phone
None: compiled Swift and Kotlin
Forms, data, i18n, validation
Built in, one version
Re-renders to tune
None: components run once
Over-the-air updates
Not for native logic (it is compiled)
Maturity
Web: stable. iOS and Android: experimental

Next.js + React Native

Codebases
Two, sharing some logic
Web
Excellent (Next.js)
UI on the phone
Platform widgets
JS or VM runtime on the phone
Hermes JS engine
Forms, data, i18n, validation
Pick and wire your own
Re-renders to tune
Yes (React)
Over-the-air updates
EAS Update (with Expo)
Maturity
Production

Expo

Codebases
One
Web
Expo Router web; SSR still maturing
UI on the phone
Platform widgets
JS or VM runtime on the phone
Hermes JS engine
Forms, data, i18n, validation
Pick and wire your own
Re-renders to tune
Yes (React)
Over-the-air updates
EAS Update
Maturity
Production

Flutter

Codebases
One
Web
Canvas rendering, weaker SEO
UI on the phone
Draws its own pixels
JS or VM runtime on the phone
Dart runtime
Forms, data, i18n, validation
Separate packages
Re-renders to tune
Widget rebuilds
Over-the-air updates
Third-party
Maturity
Production

Capacitor

Codebases
One
Web
It is the web
UI on the phone
A web view
JS or VM runtime on the phone
Web view engine
Forms, data, i18n, validation
Pick and wire your own
Re-renders to tune
Depends on the web framework
Over-the-air updates
Third-party
Maturity
Production

Competitor facts follow their own 2026 docs; the platform rows are summarised on our comparison page.

source: docs/src/content/docs/compare-app-frameworks.md (Comparison table, 'Where Pyreon is behind')

Web · iOS · Android

One .tsx file. A website, an iPhone app and an Android app.

Build the website now. The same components compile to real SwiftUI and Jetpack Compose views, tested on an iOS Simulator and an Android emulator in CI. Experimental, and labelled that way on every page.

  • Primitives that render DOM on the web and native views on the phone (22 in the next release)
  • Outside the native subset, the compiler almost always names the line and the fix
  • Web-first packages say so per package, so nothing surprises you on device
npm create @pyreon/multiplatform@latest
How one codebase works →
PyreoniOSAndroid
<Stack>VStackColumn
<Field>TextFieldTextField
<Toggle>ToggleSwitch
<Modal>.sheetDialog
signal()@State / @ObservablemutableStateOf
experimental
The same todo app, Today, running in a browser, in an iOS Simulator and in an Android emulator. A todo is added, one is marked done and one is removed, in step on all three.The same todo app, Today, running in a browser, in an iOS Simulator and in an Android emulator. A todo is added, one is marked done and one is removed, in step on all three.
Built for AI assistants

Your AI writes a bug. The framework catches it.

Assistants learned on React, and some React habits compile fine in a signals framework and then never update. Pyreon ships the tools that catch them while the code is written.

MCP server

24 tools. get_api returns the real API, validate flags misuse with the line, the offending code and the fix. No network calls.

Reactivity Lens

live and static hints in your editor, on every expression, as you type.

pyreon check

Scans changed files, prints each finding with its fix, --fix applies the auto-fixable ones, exits non-zero in CI.

144 lint rules

In 26 categories, from destructured props and context to browser globals in server code.

function Badge(props: { label: string }) {
  const { label } = props
  return <b>{label}</b>
}

props-destructured-body · 2:8 · read props.label so it stays reactive

npm create @pyreon/zero@latest -- --ai mcp,claude
Why Pyreon is AI-ready →
Who it's for

Built for teams who'd rather ship than glue.

If your package.json has thirty libraries that each solve a tenth of the problem, this is for you.

  • 01

    SaaS and dashboards

    Forms, validation, query, tables and charts that already know each other, on one version. Skip the week of wiring libraries together.

  • 02

    Content and marketing sites

    Every route picks SSG, ISR or SSR. Markdown collections and RSS are built in, with scheduled posts in the next release. This site and its blog run on it.

  • 03

    A web app that wants a phone app

    Ship the web version now. Screens built from the primitives compile to SwiftUI and Compose as native support fills in. No second team.

  • 04

    Teams leaving React

    Run your React components on react-compat, then convert one component at a time. Your AI assistant gets the real API through MCP.

Products

42 products. One version.

One reactive core, one release train, one set of docs. Here are the ones people start with.

Migration

Bring your React app.

Compat layers with near-full public-API parity for React, Vue, Solid, Svelte and Preact. Point your build at the layer, keep shipping, and move a component to signals when you choose, not when a deadline says so.

Status

What's ready, and what isn't (yet).

Stable packages follow semver from 1.0; Experimental ones can still break in a minor release, and the changelog says so when they do. The web is what apps run on today. iOS and Android are experimental and move every release.

Web framework

Core, router, SSR, Zero

  • SSG, SSR, ISR, SPA and islands
  • Real-browser tests in CI for the example apps
  • The docs and blog you are reading run on it
Libraries

Forms, query, i18n, validation, charts

  • Used on the web today, one version
  • Several also lower to iOS and Android
  • Docs generated from source and checked in CI
Experimental

iOS and Android

  • Forms, lists, navigation and storage run on device
  • XCUITest and Compose UI tests gate every native change
  • Device-proven share tracked in a public matrix
Status and direction →
Evidence

Don't trust us. Run it.

No logos we haven't earned. Here is what you can check yourself, in one command.

How we measure →
bash
git clone https://github.com/pyreon/pyreon
cd pyreon
bun install
cd examples/benchmark
bun bench-fair.ts --repeat 5 --wait-quiet 4

Eight bugs in our own benchmarks

Each one found, fixed, re-run and published, with the guard that stops it now. The claims they inflated were withdrawn.

Every loss on the page

Solid keeps a mounted component tree in less memory and ships a smaller bundle. It's on the benchmarks page, not in a footnote.

The docs run on it

200+ documentation pages and the blog, built by Zero and served as static pages.

An independent venue

A keyed implementation is staged for krausest/js-framework-benchmark. Staged, not yet submitted.

Start building in one line.

Start with the website. When you want the apps too, the multiplatform starter builds web, iOS and Android from one src/App.tsx.

npm create @pyreon/zero@latest
Follow the tutorial

Want the apps from day one? npm create @pyreon/multiplatform@latest