talira

React Native

Learn once, write anywhere

open sourceMITself-hostablefree

React Native is Meta's framework for building native Android and iOS apps with React. Components written in JavaScript or TypeScript render to the platform's own native views (View, Text, Image map to native UI building blocks), so the app uses the same platform APIs as any other native app. It ships with a bundled build of the Hermes JavaScript engine, used by default, and its New Architecture (the Fabric renderer and a new native module system) is the default in recent releases. The React Native team recommends starting a new app with a framework such as Expo, which adds routing and native modules. The community extends it beyond mobile with React Native Windows, React Native macOS and React Native Web. Meta released it in 2015 and maintains it with contributors from other companies, under the MIT licence.

Problems it solves

  • build an iOS and an Android app from one codebase without writing Swift and Kotlin twice
  • our web team knows React and now we need a mobile app
  • a cross-platform mobile app that still uses real native UI components instead of a webview
  • share business logic and components between our iPhone and Android apps
  • add a few native screens written in JavaScript to an existing native iOS app
  • hot reload while building a mobile app so I don't wait for a full rebuild after every change
  • write a mobile app in TypeScript and call native platform APIs when I need them
  • our Android and iOS apps keep drifting apart because two teams build them separately

Features

  • React components rendered to native Android and iOS views
  • Hermes JavaScript engine bundled and used by default
  • New Architecture with the Fabric renderer
  • Fast Refresh while developing
  • write native modules in Kotlin, Java, Swift, Objective-C or C++
  • community platforms: React Native Windows, macOS and Web

Capabilities

Has official SDKsplan not known

Alternatives

The same job

These do what React Native does.

  1. Kotlin Multiplatform Go cross-platform without compromising performance, UX, or code quality
  2. NativeScript Write native apps with TypeScript, with direct access to native platform APIs
  3. Ionic Framework Open source mobile UI toolkit for cross-platform apps from one web codebase
  4. Expo An open source framework for universal native apps with React, plus cloud services to build, ship and monitor them
  5. Hotwire Native A web-first framework for building native mobile apps
  6. Capacitor Open source native runtime that turns web apps into iOS, Android and PWA apps

Compare React Native with the top 3