NitroUI: React on the UI Thread, and How It Differs from React Native and Expo
NitroUI runs React on the UI thread and renders native views directly. What it changes versus React Native and Expo, what's claimed, and what isn't proven.
Two new cross-platform projects landed within a month of each other, and they make opposite bets. Expo's Exact drops React and invents a new language. NitroUI, from the team at Margelo, keeps React and TypeScript exactly where they are and rebuilds everything underneath them. Its headline idea is in the title of the launch article: React on the UI thread.
What NitroUI is
The README describes it in one line: build native iOS and Android apps with React and TypeScript. It's MIT-licensed and built by Margelo, the team behind the Nitro Modules native-module framework; the launch article says Margelo joined Callstack in September 2026 and dates the release to 1 December 2026. I couldn't find a version number or a stability label on the pages I read, and no packaged releases were listed on the repo, so treat it as brand new.
The important sentence is the one the launch article leans on: it is "React, but it is not React Native". NitroUI has its own renderer, runtime and native layer. It wasn't built as a patch to React Native, and the article says the team hopes React Native picks up whatever ideas prove out.
The core idea: JavaScript on the UI thread
In a typical React Native app, your JavaScript runs on its own thread and talks to native views on the UI thread. That separation is what makes JS-driven apps easy to reason about, and it's also where a class of problems comes from: a tap has to hop across threads, work happens, and the result hops back, usually landing a frame or more later.
NitroUI removes the hop. According to the launch article, JavaScript runs on the UI thread and renders UIKit and Android views synchronously, so a tap can render, commit and update the view in the same frame. Native code can call into JS and use the result in that same frame too. The article's examples are the places where thread hops hurt most: lists that scroll without blank rows, text inputs that stay in sync as you type, and recycled cells that draw in the same frame.
The trade-off is obvious once you say it out loud: if your JavaScript runs on the UI thread, slow JavaScript is slow UI. That's why the rest of the design is about making the JS side as cheap as possible.
How it's built
- Static Hermes. In release builds, React, its reconciler and the NitroUI renderer are compiled ahead of time with Static Hermes, and the layout engine is called through FFI. App code ships as Hermes bytecode, which the article says is what enables fast refresh and over-the-air updates.
- Its own layout engine. Layout defaults to Lynx's Starlight, with Yoga as an option. The docs call Starlight the fastest "in our benchmarks", but no numbers are given.
- Real native views. It renders UIKit views on iOS and Android views on Android. SwiftUI and Jetpack Compose aren't mentioned.
- Nitro for native code. Native modules use Nitro (v1, in a "bare" setup), with bindings generated from
.nitro.tsspecs and Swift and Kotlin as the main languages.
The code looks like React, with NitroUI's own components and a layout prop rather than a style object:
import { Text, View } from 'nitro-ui-renderer'
export function App() {
return (
<View layout={{ flex: 1, justifyContent: 'center', paddingHorizontal: 24 }}>
<Text fontSize={28} fontWeight="bold">Field notes</Text>
</View>
)
}
How it differs from React Native, Expo and Exact
| Expo + React Native | NitroUI | Expo Exact | |
|---|---|---|---|
| Language | React, TypeScript | React, TypeScript | Contract language, TypeScript data module |
| Where JS runs | Its own thread | The UI thread | A sandboxed data module |
| Renderer | React Native's | Its own, to UIKit and Android views | Its own compiler; platform-drawn controls |
| Release runtime | Hermes | Static Hermes, ahead-of-time compiled core | Not React; a different runtime |
| Targets | iOS, Android, web | iOS and Android; web planned, no date | Web, iOS, macOS, Android, Linux |
| Native project | Expo can generate it for you | ios/ and android/ folders checked into git, no continuous native generation | Own toolchain and checkout |
| Maturity | Production-proven | New (released 1 December 2026) | Experimental |
The practical contrast with Exact is the migration story. Exact asks you to rewrite in a new language. NitroUI asks you to rewrite your UI layer but keep React, hooks, state and the way your team thinks. The launch article says existing native code and Nitro Modules carry over, and that only the parts specific to React Native's host change. It describes migrating "flow by flow", starting with a single screen, and the docs link a migration guide that I haven't read.
For a plain-English refresher on the stack NitroUI is positioning itself against, see my practical guide to Expo and React Native.
The performance claims
This is the section where I'd like to give you numbers, and I can't, because the pages don't. There's no benchmark with a baseline, hardware or method anywhere in what I read. What exists:
- The docs say the Starlight layout engine is "fastest in our benchmarks", with no figures.
- The launch article says lists and text inputs behave better because rendering is synchronous, with no measurements.
- On bundle size and memory versus React Native, the article's own answer is that numbers are coming, and that you can measure your own app today.
- The article links four posts on X from developers trying it out. Those are anecdotes, and I haven't verified them.
I'd read that as honest rather than evasive: the claim is architectural (no thread hop, ahead-of-time compiled core), and it will be settled by measurements on real apps, which don't exist publicly yet. Until then "faster than React Native" is a hypothesis with a plausible mechanism, not a result.
What isn't ready or isn't stated
- Adding it to an existing native app (brownfield): the article says support is in progress, not finished.
- The library ecosystem. Storage, SQLite, networking and navigation are described as available today, and other native components are still being built. Anything that depends on React Native's own native-view ecosystem is a question mark.
- Web: planned, without a date.
- Not stated on the pages I read: production readiness or a stability policy, how it relates to React Native's new architecture, compatibility with Reanimated and gesture libraries, and which Expo workflows are supported (Expo is mentioned only as a source to migrate from).
- Heavy requirements: iOS builds need an Apple Silicon Mac and a very recent Xcode; Android needs a current SDK, NDK, CMake and JDK. That's normal for native work, but it's a step up from "scan a QR code in Expo Go".
The launch article's own summary also bears repeating: React Native isn't going anywhere. NitroUI is a second path, not a replacement.
Would I try it?
- Shipping an app soon: stay with Expo and React Native. They have the ecosystem, the store track record and the answers to every awkward question.
- A new app where UI-thread-bound interactions matter (long lists, rich text input, gesture-heavy screens) and you're comfortable on the edge: worth a prototype, with your own measurements.
- Curious where React on mobile is heading: read the launch article and try a throwaway app. Keeping React while changing the runtime is the more conservative of this month's two bets, and for a team already on React that's a real advantage.
What to watch for next
- Published benchmarks against React Native with Hermes on real devices, including memory and bundle size.
- A stability policy and version numbers.
- How far existing React Native libraries can be reused, and how brownfield support lands.
- The web target, if and when it ships.
- How it behaves under heavy JavaScript work, now that JS and UI share a thread.
The short version
- NitroUI keeps React and TypeScript but replaces the runtime and renderer: JavaScript runs on the UI thread and renders real native views synchronously.
- It's built on Static Hermes, its own layout engine and Nitro for native code. It's explicitly not React Native.
- Compared with Exact, it keeps your React skills; compared with React Native, it changes the architecture underneath them.
- No benchmark numbers are published yet; the speed claim is architectural.
- It's days old, with brownfield, ecosystem and web still to come.
If you're choosing a mobile stack and want a second opinion, say hello.
Sources
Keep reading
-
Expo Exact vs Expo and React Native: What's Different and What the Performance Numbers Show
Expo's experimental Exact framework compared with Expo, React Native and React: the Contract language, native rendering, and which performance claims hold up.
-
Building iOS and Android Apps with Expo and React Native: A Practical Guide
How to build an iOS and Android app with Expo and React Native: when to choose it, setup, testing, builds, over-the-air updates, store submission and pitfalls.
-
A/B Testing and Experiments on Shopify Stores: A Practical Guide to Driving Sales
How to run A/B tests and experiments on a Shopify store: what to test, sample sizes, tools, common mistakes, and how to turn results into sales.