The short answer seems to be — “No” — but it is complicated.
Airbnb adopted React Native two years ago when it was a relatively new and unproven technology. Yesterday (June 19 2018) they announced they will be dropping it. Here’s a summary of the reasons why they are doing this, and some more reasons you probably don’t want to follow them until you are a multi-billion dollar piece of the internet.
Disclaimer - I have nothing to gain from promoting React Native. I don't even use Facebook. As an engineer, I just like the technology :D
Here is a summary of the reasons why Airbnb is dropping React Native:
- Framework Immaturity —Since React Native is a new framework, Airbnb was in the position to having to invest significantly in the technology itself in order to build their own apps. They often were doing “simultaneous infrastructure and feature development”. They even had to maintain their own fork of React Native to make contributions, and avoid disruptive fast-paced changes.
- Three Environment Expertise — Instead of writing the code once, engineers actually had to maintain three environments: React.js, Android, and iOS. And write and then debug in all three. **Christ on a BIKE this sounds annoying**.
All these factors meant that Airbnb couldn’t meet the goals it set for using React Native:
- Move Faster — The feeling of developing in React is that you are going fast. And they might still have been moving faster, but when Airbnb looked at the end-to-end commitments they were making the increase in speed was not enough to outweigh other shortcomings.
- Maintain the Quality Bar — The quality bar was maintained, but at the high cost of developing React Native and investing a lot into infrastructural development.
- Write Code Once Instead of Twice — because they were writing React, iOS and Android code as well as infrastructure code, they were actually writing code three or four times!
So they will switch to fully iOS and fully Android native apps.
This will certainly improve the developer experience and maintain the quality bar, but it will likely slow things down a bit and all code will certainly need to be written at least twice.
So should your team drop React Native? Starting a new rocket ship startup — should you use React Native?
Of course it always depends on your situation.
- Are you rich & huge?
- Is your mobile experience unconventional?
If you are rich or huge or if your mobile experience is very unconventional, then it makes more sense to hire iOS engineers and Android engineers. (If you are small and poor but have an unconventional mobile experience, in that case you should develop the iOS app first since there is better adoption on iOS of new apps, and then once you are rich and big high Java engineers to build the Android app.)
- Are you small & poor?
- Is your mobile experience relatively conventional?
If you are small or poor or your mobile experience only needs to be relatively conventional, then you probably want to use React Native.
The cross cases can get confusing:
Airbnb was rich and big but their mobile experience is relatively conventional, so they were trying to economize and that put a pinch on their engineers who have now turned the tables.