Skip to content
BENIBIX Learn

React Native

Development📱 Mobile DevelopmentMobile Frameworks

Also known as React Native Framework, RN

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

Think of it like

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

Example

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

Why it matters

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

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 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.
The React Native row: JavaScript in, each phone's own button out.

Common mistake

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

Key takeaways

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

Compare