mobile development / react native
Learn React Native for Free: From React on the Web to a Phone in Your Hand
If you already write React, React Native is the shortest path to a real mobile app. This page translates what you know into mobile terms, explains where Expo fits, and spells out what the free tooling covers and where the paid services begin.
React Native lets you build Android and iOS apps with React and JavaScript, and renders real native components rather than a web page in a wrapper. The official docs now start from a recommendation: build with a framework, and the one they name is Expo. That changes how a beginner should approach it. Instead of wrestling with Android Studio and Xcode on day one, you can start from an Expo project and run it on your own phone.
This guide is written for someone who has met React, or is willing to learn it alongside. If you have not, read React's own quick start first, then come back. If you would rather start without any JavaScript, Flutter has a self-contained pathway, and the React guide covers the web side.
01 · FROM WEB TO MOBILE
What you already know, and what changes
React's component model, props, state and hooks carry over unchanged. What changes is the set of building blocks. There is no DOM, so there are no div, p or button tags. React Native supplies its own core components that map to native views, and styling is done with JavaScript objects rather than CSS files.
| On the web | In React Native | Note |
|---|---|---|
div | View | The basic container. It is how you build layout. |
p, span, h1 | Text | All text must be inside a Text component. |
button | Pressable or Button | Pressable lets you style the touch area yourself. |
img | Image | Takes a source object rather than a src string. |
ul with map | FlatList | Renders only what is on screen, which matters for long lists. |
| CSS stylesheet | StyleSheet.create | Styles are JavaScript objects. |
| CSS flexbox | Flexbox, mostly the same | The default direction is column, not row. |
React Native's flexbox page confirms the last row: flexbox works as it does in CSS on the web, with a few exceptions, and flexDirection defaults to column instead of row. That one default catches nearly everyone in the first hour, when a row of items stacks vertically.
02 · WHERE EXPO FITS
Expo, Expo Go and development builds
React Native's getting-started page says the best way to experience it is through a framework with the APIs you need to build production apps, and says most developers benefit from one like Expo. It describes Expo as providing file-based routing, high-quality universal libraries and the ability to write plugins that modify native code without managing native files. You can use React Native without a framework, but beginners gain little by doing so.
Expo's setup page distinguishes two ways to run your app. Expo Go is a playground app you install on your phone, which Expo says is for students and learners to try Expo quickly, and which it says is limited and not useful for building production-grade projects. A development build is a build of your own app with Expo's developer tools, which supports custom native modules and is intended for production projects. Learn on Expo Go, and move to a development build when you need a native library Expo Go does not include. The same setup page recommends developing on a real device where you can.
03 · THE COST OF SHIPPING
What is free, and where the paid services start
React Native, Expo and the Expo tutorial are free. Expo's paid offering is EAS, a set of cloud services for building, submitting and updating apps. Its pricing page lists a Free plan at $0 per month for solo developers on a passion project, including 15 Android and 15 iOS builds, a low-priority queue, submission to app stores and updates to 1,000 monthly active users. It lists a Starter plan at $19 per month, which adds $45 of build credit and a high-priority queue. Those are the figures at the time of writing, and Expo changes them, so check the pricing page.
| Goal | Cost |
|---|---|
| Learn and build locally with Expo Go | Nothing |
| Cloud builds of your app on the Free plan | $0 per month, listed as 15 Android and 15 iOS builds |
| Faster cloud builds and build credit | Starter plan, $19 per month at the time of writing |
| Publish on Google Play | One-time $25 registration (Google Play Console help) |
| Publish on the App Store | $99 per year (Apple Developer Program page) |
So the real fixed cost of shipping on both stores is the store fees. EAS is a convenience you can start on for free. You can also build locally if you set up the native toolchains yourself, but that is not where to begin.
04 · A PLAN
A five-week route
Week 1: React fundamentals, if needed
Components, props, state and hooks, from React's quick start. Skip this if you know them.
Week 2: Expo's tutorial
Expo's tutorial is a chapter-by-chapter walkthrough: create your first app, add navigation, build a screen, use an image picker, create a modal, add gestures, take a screenshot, and configure the status bar, splash screen and app icon. It produces a real app. Run it on your phone.
Week 3: React Native's core components
Read the docs on core components, flexbox and lists. Rebuild one screen from a popular app with no tutorial.
Weeks 4 and 5: your own app
Pick a small idea with two or three screens and saved data. Add navigation with Expo Router. Share a build with a friend.
05 · RESOURCES
Official docs and the tutorials worth doing
- Get Started with React Native ↗The official starting page. It recommends a framework such as Expo and links the setup route.reactnative.dev
- React Native: Introduction ↗An introduction with interactive Snack examples you can edit in the browser.reactnative.dev
- Learn the Basics ↗A tutorial on components, props and state in React Native.reactnative.dev
- Core Components and Native Components ↗How React Native components map to native views.reactnative.dev
- Layout with Flexbox ↗The layout model, including the differences from CSS on the web.reactnative.dev
- About the New Architecture ↗What changed under the hood and why it matters for performance. Skim it once you have built something.reactnative.dev
- Expo tutorial: React Native and Expo ↗A chapter-by-chapter guided build of a real app, from first screen to app icon.docs.expo.dev
- Expo: set up your environment ↗Choose a device or emulator, and Expo Go or a development build.docs.expo.dev
- Introduction to Expo Router ↗File-based navigation for Expo apps.docs.expo.dev
- React: Quick Start ↗The official React introduction. Do this first if you are new to React.react.dev
- Expo pricing (EAS) ↗The Free and paid plans for cloud builds and updates.expo.dev
06 · PITFALLS
Where React developers get tripped up
- Raw text outside Text. A bare string inside a View throws an error. Wrap strings in Text.
- Assuming web libraries work. Anything that touches the DOM will not run. Look for a React Native version.
- Laying out with fixed widths. Use flex.
- Skipping real-device tests. The simulator is not a phone. Test touch targets, keyboard behavior and performance on hardware.
07 · FAQ
Frequently asked questions
Is React Native free?
Yes. React Native and Expo are free to use, and learning costs nothing. Expo's cloud build service has a Free plan at $0 per month, and publishing costs the store fees: $99 per year for Apple and a one-time $25 for Google Play.
Do I need to know React before React Native?
Yes, mostly. React Native uses React's components, props, state and hooks, so learn those first from React's quick start. The new parts are the mobile components such as View and Text, and flexbox styling.
What is Expo and do I need it?
Expo is a framework and toolset for React Native. React Native's docs recommend using a framework such as Expo, which provides routing, libraries and build tools. You can use React Native without it, but most beginners should not.
Can I test on my phone without a Mac?
Expo's setup page lists Android and iOS devices with Expo Go as a way to run your app, so you can test on a physical phone while developing. Building iOS apps in the native toolchain, though, needs Xcode, which runs only on a Mac.
React Native or Flutter?
Choose React Native if you know React or JavaScript, since the skills transfer. Choose Flutter if you want one official learning path and are fine learning Dart. Both build for Android and iOS from a single codebase.