Expo 是围绕 React Native 构建的框架和平台,可以简化开发——提供工具、预构建的原生模块和服务,使构建、运行和部署 React Native 应用程序更容易,特别是对于入门的开发者。
Expo 提供的内容
EXPO = a framework + tools/services on top of React Native that simplify development:
→ easy SETUP — start a project quickly without configuring native iOS/Android tooling
→ many built-in NATIVE APIS ready to use (camera, location, notifications, etc.) —
no manual native module setup
→ EXPO GO app — run your app on a real device instantly (scan a QR code) for development
→ over-the-air UPDATES; EAS (build/submit services) for building and deploying
→ great DEVELOPER EXPERIENCE, especially for beginners and many apps
Expo vs 原生 React Native
EXPO (managed) → Expo handles the native side; easy, fast, less config; use Expo's APIs/
modules; the RECOMMENDED starting point for most apps now
BARE / plain React Native → full control over native code; needed for custom native modules
not supported by Expo, or specific native requirements
→ Modern Expo supports custom native code too (config plugins, development builds), so the
line is blurrier than before — Expo is increasingly the default recommendation.
