Skip to the workspace
Pebellslearn by building
Introduction to React Native  ›  Lesson

Why Teams Choose React Native

Why use React Native? 10 minReact Native lets a team with React skills ship iOS and Android apps from one codebase, with fast feedback and native views, at the cost of some platform knowledge.

react native / Why Teams Choose React Native

Explore each scene at your own pace.

01 · The rule

The rule

Why Teams Choose React Native

Imagine Sprout is a two-person project. You know JavaScript and React. You need an iPhone app and an Android app by the end of the month. The question is not "is React Native good?" but "what does it buy this team?"

The rule

One codebase, two platforms, skills you already have.

Each part of the rule is a concrete benefit.

  • One codebase. Most of Sprout — screens, logic, data fetching — is written once. Only a small amount of code differs between platforms, and you will learn how to handle that in a later section.
  • Two platforms. The same project builds an iOS app and an Android app. With Expo and react-native-web, it can even reach the browser.
  • Skills you already have. If you know React, you already know components, props, state and hooks. The new part is learning mobile components like View and FlatList.

There are a few more reasons teams pick it:

  • Fast feedback. Save a file and the app on your phone updates in about a second with Fast Refresh, without rebuilding.
  • Native look and speed. The views are real platform views, so lists scroll and text renders the way users expect.
  • A way out. When you need something React Native lacks, you can write a native module in Swift or Kotlin and call it from JavaScript.
  • A large ecosystem. Many libraries exist for navigation, storage, maps and more.

It is not free. You still need to know a little about each platform: app store rules, permissions, and how iOS and Android differ. Very graphics-heavy apps, such as 3D games, are usually better served by a game engine.

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.