# React Native

> Build phone apps with JavaScript. One set of code works on both phones.

**Field:** Software Development  
**Category:** Mobile Development  
**Also known as:** React Native Framework, RN

## Think of it like

Think of it like giving orders in one language. A helper turns them into each phone's own words.

## Definition

React Native is a framework for building phone apps with JavaScript and React. You write the screens as React parts. React Native turns them into each phone's own native buttons and lists. So the app looks and feels like a normal phone app. One codebase serves iPhone and Android. Meta made it and shares it for free.

## Example

Jack already builds websites in React. He uses React Native to make a phone app without learning Swift.

## Example code

```jsx
<Button title="Say hi" onPress={() => console.log("Hi")} />
```

One React Native button. On each phone it shows up as that phone's own button.

## Why it matters

Web developers can make phone apps with skills they have. Teams can share code between the site and the app.

## Common mistake

Thinking it runs a website inside the app. It draws real native parts, not a web page.

## Three principles

- **JavaScript and React.** The same skills used to build websites.
- **Native parts.** Each screen uses the phone's own buttons.
- **One codebase.** The same code ships to iPhone and Android.

## Related terms

- [React](https://learn.benibix.com/term/development/react)
- [JavaScript](https://learn.benibix.com/term/development/javascript)
- [Cross-Platform App](https://learn.benibix.com/term/development/cross-platform-app)
- [Expo (React Native)](https://learn.benibix.com/term/development/expo)
- [Flutter](https://learn.benibix.com/term/development/flutter)
- [JavaScript XML (JSX)](https://learn.benibix.com/term/development/jsx)

## Told apart from

- [React Native vs Flutter](https://learn.benibix.com/compare/react-native-vs-flutter): People think React Native and Flutter work the same way, and they do not. Both build iPhone and Android apps from one codebase. React Native uses JavaScript and asks each phone to draw its own buttons, so the app looks native. Flutter uses Dart and paints every button itself, so the app looks the same on both. Pick by the language your team knows and the look you want.

![A table of four frameworks and who draws the button you see. SwiftUI, written in Swift for iPhone only, is drawn by iOS itself. Jetpack Compose, written in Kotlin for Android, is drawn by Compose on Android. React Native, written in JavaScript for both phones, uses each phone's own native button. Flutter, written in Dart for both phones, paints its own pixels. The two cross-platform rows are lit up.](https://learn.benibix.com/diagrams/dev2-mobile-frameworks.svg)

---

Source: https://learn.benibix.com/term/development/react-native
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
