One lets you target both React Native and web with a single codebase, replacing both Metro and a separate web framework with a single framework, with shared file-system routing.
One runs on Vite, which brings to React Native broad file-type support, modern TS and ESM support, powerful tree shaking and code-splitting, faster compilation, and best-in-class docs, types, plugins, and community.
One works well as:
Keep in mind, One is in early development and needs time to stabilize.
For a few more answers to common questions, see our FAQ.
One lets you customize your stack as you please but recommends Zero as the first-class solution to data. We think the client-side "sync engine" model it uses is a clear win-win for simpler code and better UX.
Today, we have a starter with npx one
that sets up an early alpha of Zero, while we work on a more official solution that neatly integrates One and Zero out of the box.
One started as an experiment in porting Expo Router to our vxrn library. We since changed much of the internals and added render modes and a variety of features. We owe the Expo team a huge thanks for their pioneering efforts.
One was built thanks to some amazing open source technologies and contributors:
loader
APIs.And a special thanks to the following individuals:
one
npm package.Edit this page on GitHub.