
To React or Not to React? Expo Exact vs. NitroUI
NitroUI is out, bringing synchronous native rendering to the React and TypeScript code developers already know.
React runs directly on the UI thread, where it can fill list cells and update text inputs before the next frame appears. Expo Exact takes a different route to building native apps, introducing its own UI language and a development workflow built around coding agents. Put them alongside each other, and the differences reach well beyond syntax.
Both frameworks reconsider how an application gets from a description of its interface to something a person can use. NitroUI changes the machinery underneath React. Exact takes control of the language, compilation, and verification loop. In the recording, we explore those differences through practical examples, looking at performance, familiarity, and how much responsibility developers can hand to an agent.
What happens when React runs on the UI thread?
NitroUI is a separate framework from React Native, with its own renderer and native layer. It keeps React’s components, hooks, and state while running React and native view updates synchronously on the main thread.
That changes the coordination between JavaScript and native UI work. React Native normally runs application JavaScript on a separate thread, so a native component may need to wait for JavaScript to produce the content it needs. NitroUI lets native code call JavaScript and use the result immediately.
A scrolling list makes this distinction tangible. Native lists recycle cells as they move through the viewport, assigning new content to an existing cell. With NitroUI, the native host can ask React to render that content before displaying the cell. Its list implementation uses UICollectionView on iOS and RecyclerView on Android.
The same coordination applies to controlled text inputs. Formatting a value, such as applying an input mask, involves the native control and JavaScript agreeing on what should appear. Synchronous updates let that work happen before the next frame, reducing the opportunity for a visible mismatch between what someone types and what React displays.
For a React developer, the code remains recognizable. The consequences of putting that code on the main thread take more adjustment.
NitroUI list performance: when rendering blocks the UI
To push NitroUI’s rendering model during the stream, we used a list of 2,000 items, each with an image, title, description, and action button. A coding agent generated the screen, then added an artificial 60-millisecond rendering delay to every twentieth item. When we increased the delay to one second, scrolling paused while each slow row rendered. The rows stayed filled, but tapping another tab did not switch screens while JavaScript occupied the UI thread.
Synchronous rendering gives React direct participation in native UI work, and that comes with the native UI’s time constraints. At 60 Hz, the entire frame has roughly 16.7 milliseconds available. At 120 Hz, that drops to about 8.3 milliseconds. A row renderer doing tens of milliseconds of work has already exceeded either budget.
In an application, that pressure might come from filtering a large dataset on every keystroke or repeatedly calculating values inside each row. Moving the calculation into a promise does not move it onto another thread, and setTimeout only postpones when the same blocking work runs.
Some computations can be broken into smaller pieces that yield between chunks. Others belong in native code that explicitly performs the work on a background thread, exposed through a Nitro Module. Calling an expensive native function synchronously on the main thread would still block the interface.
Because JavaScript and native UI updates share the main thread, expensive computations can interrupt scrolling and delay taps. Keeping row rendering cheap and moving substantial computation to a background thread helps keep the interface responsive.
Expo Exact starts with a different language
Expo Exact replaces the React view layer with Contract, a compiled language for describing an application’s interface, state, and interactions. Exact compiles those declarations into a plan that its platform runtimes execute across web, mobile, and desktop applications.
The language may look unfamiliar at first, although many of its concepts have recognizable counterparts. A component owns state; derive expresses values calculated from that state; an action changes it. Resources and mutations describe typed data reads and writes, while the view declares how the interface uses those values.
A to-do app, for example, can describe its draft text, filtered items, and button actions in Contract. A separate TypeScript data module can own the stored list and answer requests from the interface. Network access, persistence, and substantial computation belong on that side of the separation, as the Contract guide for humans explains.
This gives Exact control over the operations available in the view layer and how they translate to each platform. Developers adopting it learn a new syntax, along with a different boundary between UI behavior and application logic.
An agent changing the interface works in Contract, while network access, persistence, and substantial computation belong in a TypeScript or Rust data module. Contract has defined syntax, types, and compiler checks, so Exact can validate the agent’s UI declarations before turning them into a running interface.
For the list we built live, the agent generated a Contract file containing the item shape, the list’s initial state, and the layout for each row. An action button opened a dialog in the running app. During rapid scrolling, some titles and descriptions intermittently disappeared.
How NitroUI and Expo Exact work with AI coding agents
NitroUI gives coding agents an existing vocabulary. React patterns and TypeScript are familiar territory, while newly created projects include skills pointing to the SDK documentation. The agent building the list could work from those project instructions without a separate manual setup of documentation.
Exact puts more of the development loop inside the framework. Its agent driver provides operations for inspecting the UI tree, taking screenshots, interacting with controls, and reading application state across supported hosts. A controllable clock makes time-dependent behavior repeatable during driven tests.
An agent can use that environment to check the application after changing it. The framework gives it a consistent way to interact with what it built, including on platforms with different native implementations.
Automatic verification also needs coordination with manual work. An agent launching simulators and operating controls can interrupt someone trying to explore the same screen. Developers need to be able to direct when those checks run and understand which behaviors they cover.
These approaches address different parts of agent-assisted development. NitroUI carries familiar programming patterns into a new renderer. Exact supplies a more prescribed environment for implementation and verification. In both cases, the quality of the result depends on the instructions and feedback available to the agent, alongside the developer’s judgment about what the application should do.
Moving from React Native to NitroUI
React teams can build on their knowledge of components, hooks, and state when working with NitroUI. Existing TypeScript application logic can often carry over as well, provided it has no dependency on React Native or Expo APIs.
The host-specific parts require closer attention. Navigation, layout properties, component props, and native integrations may need changes, so a migration can extend beyond switching imports. The NitroUI migration guide recommends starting with one screen and comparing the same flow in both applications.
Nitro Modules provide a route for bringing native functionality across. NitroUI uses Nitro v1 in its bare environment, with generated bindings connecting TypeScript specifications to native implementations. Existing modules need to be compatible with that environment, and each required integration deserves checking against the native module documentation.
Build tooling deserves attention too. An application binary interface, or ABI, governs how compiled components interact. Compatibility at that level affects the reuse of precompiled native code, making it a separate consideration from whether familiar React source code can move across.
A framework can feel comfortable within minutes while still requiring work around the dependencies a product needs to ship.
How much of the development model should change?
NitroUI makes a case for exploring native performance while retaining React and TypeScript. Its synchronous rendering model gives React closer coordination with native controls, and the list experiment shows the corresponding need to keep main-thread work within budget.
Exact asks for a broader change. Its contract language and verification tools offer a structured way to build across platforms, with more of the workflow designed around agents. Adopting it also means becoming comfortable with how that language expresses behavior and how the generated application executes it.
For either framework, a representative product flow will reveal more than an isolated scrolling demo. A screen with realistic data transformations and a required native integration exposes the costs that matter to an actual application. It also gives the team something concrete to inspect when generated code behaves unexpectedly.
NitroUI’s release opens up room to improve native rendering while preserving familiar React code. Exact explores how much a framework can define when it owns both the UI language and the agent’s working environment. Developers still need to understand the behavior those choices produce, especially when they are responsible for the app that ships.
























