Expo Team Unveils Exact Cross-Platform UI Framework
Original title: Exact – a new cross platform UI framework by the Expo team
78AI Score
The Expo team has released Exact, a cross-platform UI framework that runs the same code natively on web, macOS, iOS, and Linux, and is explicitly designed for AI coding agents to build, run, observe, and test apps. In a demo, Claude Code built a todo app and passed tests on all three platforms in about 57 minutes, with 26 KB of code versus React's 81 KB and roughly 99 ms edit latency.
应用只写一次。它就能以原生方式运行在 Web、macOS、iOS 和 Linux 上,而 AI agent 可以在每一个平台上构建它、运行它、查看它并测试它。
[!TIP]
用编码 agent 试一试。 在一台已安装 Xcode、Rust、Bun 和 Chrome 的 Mac 上,把下面这段提示词交给 Claude Code:
TEXT
Clone https://github.com/expo/exact and follow its README to make a new Exact
app with `exact new`. Run `bun scripts/exact.mjs setup` once first. Make a todo
list where I can add items, check them off, delete them,
and see how many are left. Put the view in Contract and keep the list in `app.ts`.
Write an `app.test.contract`, pass it on web, macOS, and the iOS Simulator with
`scripts/agent.mjs`, then open the app for me on all three.