React Native Overview

Tram Ho

Hi everyone, I’m Cross Platform, in this article I will give an overview of React Native, including issues:

  • What is React Native?
  • Why learn React Native?
  • Pros and cons?

1.What is React Native?

React Native is an open source framework created by Facebook. It is used to develop Android, iOS, Web and UWP mobile apps by allowing developers to use React alongside the native app environment.

2.Why should you learn React Native React Native was developed for the purpose of solving the problem of Hybrid performance and cost when having to write many types of native languages ​​for each mobile platform, just like the slogan of React Native: “Learn once, write anywhere”. Today we have two main competing platforms, iOS and Android, each with a power that overwhelms the programming world. From there, tools to support application developers can develop each application easily, such as Apple has XCode, Android has Android Studio. But also because each person has a power, so no one plays with anyone, each side claims to be a “way” in the end, the programmers are the ones who have to suffer the battle. And from that, the Gypsy gave birth to two famous subjects, Native and Hybrid.

3. Pros and cons?

  • Advantages: As I said above, React Native can write both Android and IOS Apps, which will help:

 Save time and reduce development costs of an application.

 Make better use of human resources.

 Maintain less code, less bugs.

 The features in both platforms are similar.

React Native allows developers to reuse code while developing cross-platform applications. In particular, developers can reuse almost 80-90% of the code instead of having to write and create separate applications for different platforms.

Large user community: React Native is rated as one of the most popular frameworks, you can easily fix bugs through large and small forums. At the same time there are many support libraries.

Stability and Optimization: Developed by Facebook, React Native has quite high stable performance.

 React Native code simplifies data processing.

 Application development team is not too large.

 Build applications with the least native code for many different operating systems.

Better user experience when compared to Hybrids app

  • Cons: Requires Native code. Performance is worse than Native App. Security is not really good due to the use of JavaScript. By using JavaScript, users will also be affected by the characteristics of JavaScript: easy to do wrong, which makes it difficult to maintain later. Memory management Customization is not really good in some modules. Not suitable for applications that need high computing power (hash, crypto, etc).

Conclusion: React Native is worth learning and working on mobile App development in particular with the strengths of React as well as JavaScript

Share the news now

Source : Viblo