核心理念

Expo 工具、功能和服务概述。


Expo 是一个用于在 Android、iOS 和网页上原生运行应用的开源框架。Expo 汇集了移动端和网页的最佳特性,并支持构建和扩展应用的许多重要功能。

🌐 Expo is an open-source framework for apps that run natively on Android, iOS, and the web. Expo brings together the best of mobile and the web and enables many important features for building and scaling an app.

expo npm 包为 React Native 应用提供了一系列令人惊叹的功能。expo 包几乎可以安装在 任何 React Native 项目 中。

🌐 The expo npm package enables a suite of incredible features for React Native apps. The expo package can be installed in nearly any React Native project.

工具和特性

🌐 Tools and features

Expo SDK

全面的、经过充分测试的 React Native 模块套件,可运行于 Android、iOS 和 Web 平台。

使用 Expo 开发应用

概述构建 Expo 应用的开发过程,以帮助构建核心开发循环的思维模型。

Expo 模块 API

使用现代 Swift 和 Kotlin API 编写高性能的原生代码。

预建

将 React 与 Native 分离,可以在任何电脑上开发、轻松升级、白标应用,并维护更大型的项目。

Expo CLI

管理依赖,编译本地应用,为网页开发,并通过强大的开发服务器连接到任何设备。

Expo

一个供学生和学习者在模拟器或设备上尝试 React Native 的在线运行。

信息 所有功能均为免费、可选,并且可以独立使用。未使用的功能不会给你的应用增加额外负担。

FeatureWith expoWithout expo (bare React Native)
Develop complex apps entirely in JavaScript.
Write JSI native modules with Swift and Kotlin.
Develop apps without Xcode or Android Studio.
Create and share example apps in the browser with Snack.
Major upgrades without native changes.
First-class TypeScript support.
Install natively compatible libraries from the command line.
Develop performant websites with the same codebase.
Tunnel your dev server to any device.

服务

🌐 Services

Expo 背后的团队还提供 Expo 应用服务(EAS),这是深度集成的云服务,用于构建、提交和更新你的 React Native 应用。EAS 可以用于 任何 React Native 应用,无论其是否使用 expo

🌐 The team behind Expo also provides Expo Application Services (EAS), deeply integrated cloud services for building, submitting, and updating your React Native app. EAS can be used with any React Native app, regardless of whether it uses expo or not.

Expo 应用服务

构建、部署和更新原生应用的最简单方法。