Explain it simply
Development Environment Setup, in plain language
Expo is a toolchain built on top of React Native that lets you run/build/publish your app without touching native code (Xcode, Android Studio) directly — it significantly cuts down setup time for beginners. React Native CLI, on the other hand, gives you full control when you need to add custom native modules, but it requires Xcode/Android Studio setup. With the Expo Go app (installed on your phone), you can live-preview your app just by scanning a QR code on a physical device — no need to set up an emulator/simulator at all.
Problem → Why → Solution
The problem — why this concept matters
Trying to run npx commands without Node.js installed, causing errors
A common mistake
Trying to scan with Expo Go without connecting your phone and computer to the same Wi-Fi network (connection won't work)
Core concept — understand how it works
Understand Development Environment Setup as part of a React Native 0.87 system connecting React 19.2, Hermes V1, Fabric, TurboModules, and the Strict TypeScript API. Keep the boundary between shared TypeScript and platform-specific native behavior explicit.
- JavaScript state
- native component and layout
- Android or iOS UI
Explain the React and native-platform behavior of Development Environment Setup
Core syntax or pattern
# Create a new Expo project
npx create-expo-app my-first-app
cd my-first-app
# Start the development server
npx expo start
# Scan the QR code with the Expo Go app on your phoneUnderstand Development Environment Setup as part of a React Native 0.87 system connecting React 19.2, Hermes V1, Fabric, TurboModules, and the Strict TypeScript API. Keep the boundary between shared TypeScript and platform-specific native behavior explicit.
Read the code step by step
- JavaScript state
# Create a new Expo projectExpo is a toolchain built on top of React Native that lets you run/build/publish your app without touching native code (Xcode, Android Studio) directly — it significantly cuts down setup time for beginners. React Native CLI, on the other hand, gives you full control when you need to add custom native modules, but it requires Xcode/Android Studio setup. With the Expo Go app (installed on your phone), you can live-preview your app just by scanning a QR code on a physical device — no need to set up an emulator/simulator at all.
- native component and layout
# Start the development serverUnderstand Development Environment Setup as part of a React Native 0.87 system connecting React 19.2, Hermes V1, Fabric, TurboModules, and the Strict TypeScript API. Keep the boundary between shared TypeScript and platform-specific native behavior explicit.
- Android or iOS UI
# Scan the QR code with the Expo Go app on your phoneTest an original Development Environment Setup example on Android and iOS with small and large screens, font scaling, dark mode, keyboard and screen reader use, slow/offline networking, denied permissions, and background/foreground transitions. Use DevTools, tests, and a release build where relevant.
- JavaScript state
- native component and layout
- Android or iOS UI
Success
Explain the React and native-platform behavior of Development Environment Setup
Failure
Trying to run npx commands without Node.js installed, causing errors
Let's think about this for a moment
Expo is a toolchain built on top of React Native that lets you run/build/publish your app without touching native code (Xcode, Android Studio) directly — it significantly cuts down setup time for beginners. React Native CLI, on the other hand, gives you full control when you need to add custom native modules, but it requires Xcode/Android Studio setup. With the Expo Go app (installed on your phone), you can live-preview your app just by scanning a QR code on a physical device — no need to set up an emulator/simulator at all.
Let's connect this to a real scenario
Running npx create-expo-app my-app creates a fresh project scaffold. Running npx expo start shows a QR code in the terminal — scan it with the Expo Go app on your phone and you can live-preview the app. Every time you save your code, it'll hot reload on your phone.
Code Example
# Create a new Expo project
npx create-expo-app my-first-app
cd my-first-app
# Start the development server
npx expo start
# Scan the QR code with the Expo Go app on your phoneA QR code appears in the terminal, and scanning it with the Expo Go app shows the app on your phone.5-Minute Try-It
Try running npx create-expo-app my-first-app. Install the Expo Go app on your phone and try scanning the QR code.
A Quick Heads-Up
The Expo Go app only works for Expo projects — previewing a project with custom native modules (React Native CLI) requires a development build.
Real-world usage
How to apply it in a real project
Test an original Development Environment Setup example on Android and iOS with small and large screens, font scaling, dark mode, keyboard and screen reader use, slow/offline networking, denied permissions, and background/foreground transitions. Use DevTools, tests, and a release build where relevant.
Mini challenge
Build it yourself
Test an original Development Environment Setup example on Android and iOS with small and large screens, font scaling, dark mode, keyboard and screen reader use, slow/offline networking, denied permissions, and background/foreground transitions. Use DevTools, tests, and a release build where relevant.
- Rebuild the example without copying it
- Test a normal input and an edge case
- Predict the compiler or output result before running it
# Create a new Expo project
npx create-expo-app my-first-app
cd my-first-app
# Start the development server
npx expo start
# Scan the QR code with the Expo Go app on your phoneExpected: Explain the React and native-platform behavior of Development Environment Setup
Show hint
Test an original Development Environment Setup example on Android and iOS with small and large screens, font scaling, dark mode, keyboard and screen reader use, slow/offline networking, denied permissions, and background/foreground transitions. Use DevTools, tests, and a release build where relevant.
Quick quiz 1 / 3
Quick quiz 2 / 3
Quick quiz 3 / 3
What to remember
- JavaScript state → native component and layout → Android or iOS UI
- Understand Development Environment Setup as part of a React Native 0.87 system connecting React 19.2, Hermes V1, Fabric, TurboModules, and the Strict TypeScript API. Keep the boundary between shared TypeScript and platform-specific native behavior explicit.
- Trying to run npx commands without Node.js installed, causing errors
- Test an original Development Environment Setup example on Android and iOS with small and large screens, font scaling, dark mode, keyboard and screen reader use, slow/offline networking, denied permissions, and background/foreground transitions. Use DevTools, tests, and a release build where relevant.
React Native 0.87 Release — React Native