React Native and Expo
7 minReact Native turns React components into each phone's own views, and Expo handles running and building the app. By the end you can swap any web tag for its React Native match.
Lesson video
Tastebud · 6:31 · Captions on screen
React Native turns your React components into each phone's own views, and Expo brings the tools around them.
- Why. React Native creates the real iPhone and Android views for each component, so scrolling, typing and screen readers behave the way phone users already expect.
- Real example. Bluesky's iPhone, Android and web apps share one React Native codebase on Expo SDK 58. Of its 1,360 component files, 6 are iPhone only and 7 Android only. (Bluesky, Nov 2026)
- When to break it. When one screen needs a control React Native's core set lacks, use Expo UI for real SwiftUI or Jetpack Compose there, or write that piece in Swift or Kotlin.
- Common mistake. Pasting web markup into a phone screen. A string placed straight inside a View stops the app with an error, because every piece of text must sit in a Text.
Our take. Start every React Native app in Expo, and learn the core components by name before you ask AI for screens. Generated code full of web habits looks fine in review and breaks on the phone.
React Native asks the phone for its own views
A website inside an app shell draws HTML in one web view. React Native creates a native view for each component instead, so a list scrolls like the phone's other lists and a text field is the phone's own.
- One web view draws all your HTML and CSS
- Buttons and lists are web elements
- Reuses the site you already have
- Each component becomes a native view
- Buttons, lists and text fields are the phone's own
- Reuses your React skills, with new tags
Expo runs, builds and updates the app
Expo is a framework on top of React Native and the recommended way to start a new app. It runs your app on your phone from a QR code, builds it in the cloud and sends small fixes over the air.
Expo covers each step, so you can start without Xcode or Android Studio
- Run it on your phone. npx expo start prints a QR code. Scan it and Expo Go opens your app. On an iPhone, sign in to the same free Expo account in both.
- Switch to a development build. Expo Go holds only the native code Expo put in it. A development build is your own version of Expo Go, so any native library works.
- Build in the cloud. Expo Build makes the iPhone and Android apps on Expo's servers, iPhone ones on Expo's Macs. You start it with eas build, and the free plan covers 15 of each a month.
- Send fixes over the air. Expo Update sends fixes to JavaScript, styles and images to phones that already have the app. A change to native code or permissions needs a new store build.
Expo Go is for learning; your app needs its own build
Expo Go from the app store holds only the native code Expo put in it, and the store version runs one SDK at a time. When you add a library with its own native code, make a development build.
- Holds only the native code Expo shipped in it
- The store version runs one SDK at a time
- Razorpay's SDK brings its own native code, so it can't load
- Good for learning the core components
- Your own version of Expo Go
- Any native library works, Razorpay's included
- Expo makes it on your computer or in the cloud
- No need to leave Expo for Xcode and Android Studio
Try it
Swap each web habit for its React Native match
Sort each piece of web code into the React Native component that replaces it. Some are elements and some are props.
<div> wrapping a card
<section> or <header>
<p> holding a sentence
<h1> for the profile name
<span> around one bold word
<button> for Post
onClick
<input type="text">
onChange on a text field
placeholder
<img src> for an avatar
alt on an image
Quick check
You ask a coding tool for a React Native profile screen. It returns <div className="card"> with an onClick on a box. What do you do?
Watch next
Watch it for How one JavaScript codebase becomes an iPhone app and an Android app, and where Expo's router and cloud builds fit.
Watch it for The limits of Expo Go at 4:39, and what a development build adds from 7:08.
Connects to: 6.1 Thinking in components · 14.1 iPhone vs Android · 1.4 Web, iPhone or Android · 18.5 Testing on a real phone · 19.3 Cross-browser testing
Sources · checked Nov 2026
- React Native docs: Core Components and Native Components (updated 27 Oct 2026)At runtime React Native creates the matching Android and iOS views; View maps to ViewGroup and UIView, Text to TextView and UITextView, Image to ImageView and UIImageView, ScrollView to ScrollView and UIScrollView, TextInput to EditText and UITextField
- React Native docs: Get Started with React NativeNew apps are best started on a framework, Expo is the one named, and npx create-expo-app@latest creates a project
- React Native docs: TextAll text must be wrapped in a Text; a text node directly under a View raises an exception; Text can nest inside Text
- React Native docs: PressablePressable uses onPress, onPressIn, onPressOut, and onLongPress after 500 ms
- React Native docs: TextInputonChangeText passes the changed text as a single string
- React Native docs: Images and ImageNetwork images need their dimensions set by hand; the Image alt prop is read by the screen reader (https://reactnative.dev/docs/image)
- React Native docs: AccessibilityThe role prop, with values such as button and heading, tells assistive technology what a component is
- React Native docs: StyleCore components take a style prop with camel case names such as backgroundColor, and StyleSheet.create defines styles in one place
- React Native blog: React Native 0.88 (19 Oct 2026)React Native 0.88 (19 Oct 2026) ships React 19.3.0; npm shows 0.88.1 as the current stable release (27 Oct 2026)
- React Native ShowcaseMicrosoft Outlook and Microsoft Teams for iOS and Android use React Native
- Expo changelog: Expo SDK 58 (15 Oct 2026)SDK 58 (15 Oct 2026) moves to React Native 0.88; Expo Go is an educational tool, the store app supports only the newest SDK, and apps you build and ship should move to a development build
- Expo docs: Create a projectExpo is a React Native framework; npx create-expo-app@latest; new projects include AGENTS.md, and Claude Code has an official Expo plugin
- Expo docs: Start developingnpx expo start shows a QR code to scan on your phone; on an iPhone, Expo Go opens the project only when Expo CLI and Expo Go share one signed in account (npx expo login)
- Expo docs: Introduction to development buildsA development build is your own version of Expo Go in which you can use any native library, recommended for apps you release
- Expo docs: Development builds FAQExpo Go 'comes with a fixed set of native libraries built in'; there is no way to get native code into Expo Go unless it was already included, so you use a development build
- Expo docs: Expo Build'Expo Build is a hosted service for building app binaries'; 'The commands for Expo Build start with eas and require EAS CLI'; iOS builds run on macOS runners in Expo's macOS cloud
- Expo docs: Expo Update'Expo Update is a cloud service from Expo Services'; an app can update its non-native pieces (JS, styling, images) over the air; native code or permission changes need a new build
- Expo pricingThe free plan ($0 a month) includes 15 Android and 15 iOS builds, store submission and updates to 1,000 monthly active users; the quota resets each billing period
- Expo docs: Expo UI@expo/ui is a set of native components for building interfaces with SwiftUI on iOS and Jetpack Compose on Android, exposed directly to JavaScript
- Bluesky Social app on GitHub (package.json and file tree, read 26 Nov 2026)Bluesky is one React Native codebase for web, iOS and Android on expo 58.0.23 and react-native 0.88.1; 1,360 .tsx files, of which 6 end in .ios.tsx and 7 in .android.tsx; its UI strings include What's up? and Post
- Razorpay docs: React Native Standard SDKThe React Native Standard SDK acts as a wrapper around Razorpay's Standard SDK and integrates with Razorpay's native Android and iOS SDKs
- Razorpay docs: React Native integration steps (Android)For Expo apps: npx expo install react-native-razorpay, then npx expo prebuild to generate the native folders, then npx expo run:android --device
- react-native-razorpay on npmVersion 3.0.0 is the latest release (21 Apr 2026)