React Native

Expo vs React Native Bare

Expo managed workflow, Expo Go, prebuild, Expo Modules, config plugins, custom native code, ejection, EAS

18 面接問題·
Mid-Level
1

What is the main difference between Expo managed workflow and bare React Native workflow?

回答

Expo managed workflow abstracts native configuration (ios/ and android/) and automatically handles native dependencies through Expo Go or EAS cloud builds. The bare workflow exposes complete native folders, offering full control over native code but requiring manual configuration and maintenance of Xcode and Android Studio projects.

2

What is the Expo Go app and what is its main limitation?

回答

Expo Go is a client app downloadable from App Store and Play Store that allows instant testing of Expo projects without native builds. Its main limitation is that it only supports native modules included in the Expo SDK. Libraries with custom native code don't work in Expo Go, requiring a custom development build instead.

3

What is the purpose of the expo prebuild command in an Expo project?

回答

The expo prebuild command generates the native ios/ and android/ folders from app.json/app.config.js configuration and config plugins. This is the Continuous Native Generation (CNG) concept: native folders are generated on-demand rather than manually maintained. It allows having a managed project with bare capabilities when needed.

4

What is a development build in the Expo ecosystem?

5

What are config plugins used for in Expo?

+15 面接問題

次の面接に向けてReact Nativeをマスター

すべての問題、flashcards、技術テスト、コードレビュー演習、面接シミュレーターにアクセス。

無料で始める