Choosing between a native app, a React Native app and a web app means deciding how many versions of your product you will build and maintain, and which phone features you will have access to. Most businesses that ask me for an iPhone and Android app are well served by React Native. Some need native, and others don't need an app at all: a web app that works well on a phone is enough, and it's better to know that before paying for one. I have built all three. Most of my mobile work is in React Native, so I have a bias, and that's why I also explain when I wouldn't use it.

TL;DR

  • A web app fits when your users come in occasionally, arrive through a link or work at a computer: there is nothing to install and changes go live instantly.
  • React Native fits when you need to be on the App Store and Google Play with camera, location or notifications: one codebase serves both stores.
  • A native app fits when the product depends on a watch, on demanding performance or on features Apple or Google just released. It is also an option if you will only ever be on one platform; covering both means building and maintaining two apps.

Native app, React Native or web app? The short answer

If your users will open the product several times a week on their phone, or need timely notifications, and you want to be on both stores, start with React Native. If they come in occasionally or from a computer, start with a web app. Choose a native app only if you can name the feature that requires it, such as a watch app or a system feature React Native doesn't cover yet.

Before discussing technology, write down who uses the product, where that person is when they open it and what they do in the first minute.

Native app vs React Native vs web app, in plain English

A web app opens in the browser, a React Native app shares one codebase (one set of code) between iPhone and Android, and a native app is built separately for each system. That changes how they reach the phone, how many times they get built and which features they can use.

Web app React Native Native app
How it reaches the user A link in the browser App Store and Google Play App Store or Google Play
Codebases to maintain One One, with adjustments per platform One per platform
How a change ships Instantly, when the server is updated Many without going through the store; native code changes need a new version With a new version in the store
Notifications on iPhone Only if the user adds the site to the home screen Yes Yes
Widgets No Yes, with limits: Expo offers them without native code Full access
Watch and new system features No, or very limited With custom native code Direct access
Offline use Possible, with limits Yes Yes

React Native produces an installable app with the system's own components. What gets shared is the logic and most of the screens. When something is missing, that piece is written in Swift or Kotlin and the rest stays shared.

On notifications: on iPhone, a web app can only send them on iOS 16.4 or later, and only if the person added it to their home screen. If your business depends on timely alerts, treat them as a requirement, but first check whether an email, an SMS or WhatsApp would do the job with nothing to install.

Keep reading

Cutaway illustration of a workshop: on the left, two people assemble two different phones separately; in the center, a press with a single mold produces two matching phones; on the right, a browser window serves people on the sidewalk

That is the first half. The full walkthrough — with the rest of the implementation, the trade-offs and the things that only show up in production — is on my blog:

Read the full post on ramonchancay.me →

Originally published at www.ramonchancay.me/blog/native-app-react-native-or-web.