DEV Community

Shubham Choudhary
Shubham Choudhary

Posted on

Why using React Native should be the default way of building Apps in 2020.

I am the guy who quit coding several times in life, but deep inside my heart. I always felt like a programmer. I always wanted to be one. Here is the article I have written 8 months ago, describing my journey as a programmer. I described why I started with React.js for front end soon after learning javascript.

https://medium.com/@deol.shubham/why-i-started-with-react-for-front-end-web-soon-after-learning-javascript-fa6cf8f7efcd

In this article, I am going to write about React-Native and why this should be your first choice for building mobile applications.
React Native is growing, and so the community. Facebook just announced version 0.60 of react-native. It includes support for using Hermes with your project, and this is also the time when facebook also made Herms open-source. Hooray!!

https://facebook.github.io/react-native/docs/hermes

This came as a surprise for us, first releasing version which includes support for android x and much more, then open-sourcing Hermes. Of course, This release also contains a lot of breaking changes. All of our dependencies need to be updated to support version 0.60, but this is noting compared to benefits which we are going to get.

With this release, people are very excited and testing out Hermes with react native version 0.60. Performance of app has increased 2 x times, and which I guess eliminates one reason for not using react native apps. Now React native apps are going to be 2 x more performant.

Installing dependencies got easier
This is one more reason to use react-native as your first choice. Now React-Native includes support for auto-linking those dependencies which contain native code.

This is how this works
_
Each platform defines its own platforms configuration. It instructs the CLI on how to find information about native dependencies. This information is exposed through the config command in a JSON format. It's then used by the scripts run by the platform's build tools. Each script applies the logic to link native dependencies specific to its platform.

Now, Mostly all we have to worry about writing javascript and witness the magic which react-native does for us.

There are a hell lot of other reasons to use React Native as your first choice, But the reasons I pointed out here are new additions to previous ones.

Read this blog for more info on why you should or shouldn’t use react-native.

https://bit.ly/31Wla6H

Finally,
Let me know in the comment section what other reasons can be there to use react-native to build mobile apps which are not pointed out previously. Consider this article as the ground for discussion which can lead us to better conclusions. :)

Top comments (0)