Shopify to adopt React Native framework

Ordinateur

At the beginning of 2020, the e-commerce platform Shopify announced that the React Native framework would be used to develop all it’s future applications. Among the numerous programming languages, why did Shopify choose React Native in particular, what exactly is React Native, and more importantly, what are the benefits of this language specifically? In this article, we will attempt to answer all these questions.

What is React Native?

React Native is a framework used to develop mobile applications for both iOS and Android platforms. Created by Facebook in 2015 and based on React, it allows developers to use one of the best JavaScript libraries.

The benefits of React Native

Why did Shopify choose React Native?

This question can be answered by the following:

Preference for new technology

It’s not the first time Shopify has opted for a new and innovative technology instead of a more traditional one. In 2004, the company  chose to go with Ruby on Rail, which was viewed as underperforming and insignificant compared to other popular languages such as Java. However, afterwards, Ruby on Rail was the one thing that set Shopify apart from its competitors. By sticking to this culture of investing in young technology and becoming one of its main contributors, it was not surprising that Shopify chose React Native.

Technical aspect

It is quite clear that Shopify did not make this decision blindly. And the following points are proof of that:

React Native performance tested by Shopify

Shopify has tested the performance of React Native on three mobile applications: Arrive, Point of Sale and Compass. The results have been quite promising:

Next steps to be taken

Despite the great performance of React Native, Shopify is not planning on rewriting all it’s mobile applications using this framework. However, the Shopify team will dig deep into React Native and create platform-specific components.

If you would like more information, you can visit Shopify’s site and be informed about the e-commerce platform’s switch to React Native.

Article written by Aijia Chen.