What is React Native?
React Native lets one codebase become an iPhone app and an Android app that use real native views. How it differs from React on the web, what Expo adds, and the limits to know.

Key takeaways
- React Native uses React's components and state to build mobile apps that render real native views on iOS and Android.
- Expo is the toolkit most React Native apps use today: routing, device APIs, Expo Go for testing and build services.
- In Startbase, mobile apps are Expo and React Native and run on your phone through Expo Go; App Store and Play Store builds are not available from Startbase right now.
Using one JavaScript or TypeScript codebase, React Native builds real mobile apps for iPhone and Android with the same ideas as React: components, props and state. Unlike a website squeezed into an app shell, it draws genuine native interface elements, so lists scroll, buttons respond and text renders the way users expect on each platform. Facebook (now Meta) released it in 2015, and many well-known apps use it for some or all of their screens.
An everyday example: one script, two theaters
A touring play has one script, but each theater uses its own stage, curtains and lights. The actors say the same lines; the venue makes it look local. React Native is the script. You write `<Text>` and `<Pressable>` once, and on an iPhone they become iOS views, on an Android phone Android views. Most code (screens, logic, data fetching) is shared, while a small amount can be adjusted per platform when the two should behave differently, like the back gesture.
How it differs from React on the web
- No HTML. Instead of `<div>` and `<p>`, you use `<View>` and `<Text>`. Every piece of text must be inside a `<Text>`.
- No CSS files. Styles are JavaScript objects with similar names (`flexDirection`, `padding`), and layout is flexbox by default.
- Device features. Camera, haptics, notifications, location and secure storage come through native modules rather than browser APIs.
- Navigation is different. Phones use stacks, tabs and gestures, not URLs in an address bar, although routers like Expo Router map files to screens.
Where Expo fits
Expo is a toolkit and set of services around React Native, and it is now the usual way to start a React Native app. It adds file-based routing, ready-made modules for device features, the Expo Go app for running a project on your phone by scanning a QR code, and cloud build services. The long version is what is Expo.
Why it matters when building with Startbase
Startbase mobile apps start from Expo SDK 57 with Expo Router, React Native and TypeScript, plus React Query and Gesture Handler, with colors, spacing and type in light and dark theme tokens (Expo template docs). The preview runs inside a device frame in the workspace, and Test on your phone opens it in Expo Go on an iPhone or Android phone, live-reloading as the agent builds. Expo apps also publish to the web at your address. Be clear on the limit: iOS and Android store builds from Startbase are currently unavailable on every plan. You can export the source or push it to GitHub for your own native build workflow.
Build a mobile habit tracker in Expo. Bottom tabs for Today, Stats and Settings. Swipe a habit right to mark it done with a light haptic. Use the theme tokens for all colors so dark mode works everywhere, and make every tap target at least 44 points.
Deciding between a phone app and a web app? Read web app vs mobile app and PWA vs native app.
Common confusions
- React Native is not a web view. It renders native components; that is the difference from wrapping a website in an app.
- It is not always 100% shared code. Expect a little platform-specific code for things like permissions and back navigation.
- Running in Expo Go is not the same as being in the App Store. Expo Go is for development and testing; store distribution needs a native build and your own developer accounts.
Frequently asked questions
Is React Native as fast as a native app?
For most apps, users cannot tell the difference. Very graphics-heavy games or apps that push the hardware are where fully native code still has an edge.
Do I need a Mac to build a React Native app for iPhone?
Not for development and testing with Expo Go. Producing an App Store build traditionally needs Apple's tools, though cloud build services can do that step for you.

