programmingNavigate back to the homepage

React Native Basics

Thisara Pramuditha
May 4th, 2018 · 1 min read

What is React Native?

React Native is a JavaScript framework to develop natively rendering mobile applications for android and iOS. Actually it uses the React JavaScript library to develop the UI of applications which are developing using React Native.

Why React Native?

React Native applications give the feel of a real native application rather than a web application and other JavaScript, Angular, HTML 5 frameworks that use to develop mobile applications targets the browser instead of achieving the nativeness. And of course you can build applications for both the android and iOS platforms at the same time is an added advantage.

Difference between ReactJS and React Native?

Actually, ReactJS is a JavaScript library responsible for building a hierarchy of UI components or in other words, responsible for the rendering of UI components.

React Native is a framework used to build mobile applications using ReactJS library. But the components used in React and React Native are different although the syntax is the same.

On the other hand ReactJS supports in the font-end development in web applications.

Pros of React Native?

  • More performance than the other cross-platform frameworks such as Cordova, PhoneGap etc. Because React Native renders code components with native API’s.
  • Focus on better UI where ReactJS comes to rescue
  • No need to develop for android and iOS separately
  • A major selling point of React Native is shorter development time

Cons of React Native?

  • React Native still lacks navigation components to provide users with better UX
  • Lacks in some custom modules
  • Sometimes the native developers are still needed to do access the device sensors
  • Working under the Facebooks license and depend on them

Future of React Native?

Today, there is a big trend in the industry to use React Native to build mobile applications because they only need one team comparing to handling two teams to build for android and iOS separately.

Currently there are many companies building their mobile applications using React Native. For example Instegram, Tesla, Airbnb, Skype uses React Native.

So, in my opinion React Native will make an massive impact on development of mobile application even Google has already developed a framework like React Native named as Flutter. Which means there is a trend going on with the use of cross-platform mobile application development and React Native at its best.

More articles from Thisa

Why Linux rather than Windows?

My friends always asking why you are using Ubuntu rather than using Windows? So, I thought of write a post regarding why I’m using Linux…

November 24th, 2018 · 2 min read

React Native Basics

What is React Native? React Native is a JavaScript framework to develop natively rendering mobile applications for android and iOS. Actually…

May 4th, 2018 · 1 min read
© 2018 Thisa
Link to $ to $ to $ to $ to $ to $