Source Freeze

  • Home
  • iOS
  • Swift
  • Cross-Platform
  • About
  • Contact
Home ยป React Native : What makes it so successful?

React Native : What makes it so successful?

January 4, 2023 by Source Freeze Leave a Comment

What is React native?

React Native is used to create native apps with JavaScript, whereas your application is fully native but user interface design and logic was written in JavaScript using React.js and it is a open-source framework like phonegap.

react native

In the PhoneGap and Apache Cordova used DOM for rendering, it is the main reason for slow performance. With the release of Hybrid UI frameworks like ionic framewrok, kendo UI, Onsen UI the performance was very much improved. But still it is not comparable with native performance.

React Native is not using DOM for rendering, instead of it renders with native UI views, which means you are using the native components provided by the operating system.

Supported Platforms:

iOS and Android (for android still it is not released but they promised it will be available soon).

How React Native works?

                As, already mentioned react native not using web views, it uses JavaScript run time ( JavaScript Core in iOS), once the applications are created using react cli it needs native IDE  (XCode /Android SDK)  to run the applications, while running it loads the index.ios.bundle, that feeds react code to JavaScript runtime that asynchronously communicate with native thread ( main activity).

React Native iOS code for better understanding.

NSURL *jsCodeLocation;
jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle"];

RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
moduleName:@"WeatherApp"
launchOptions:launchOptions];

self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
UIViewController *rootViewController = [[UIViewController alloc] init];
rootViewController.view = rootView;
self.window.rootViewController = rootViewController;
[self.window makeKeyAndVisible];
return YES;

And, i have tried to run the one live application, just impress by weather application that is available in this link.

While developing you can instantly reload the application in the simulator like browsers in the web apps, and it provides a better debugging option. 

 react native debugging options

Live Appstore apps build with React Native 

Yes, two react native applications are already available in the appstore.

1. Facebook ads manager 

2. Facebook Groups 

React Native popularity

Next, I tried to analysis the popularity of react native. yes, it is getting popular day by day !!!! ( found many positive responses in the social networks).  when you look at the google trends graph in the below you know most people love react native but let us wait and see how they are using in their development. 

 react native popularity

React Native is the first framework for JS-Native ?

The short Answer is No, Telerik already provides nativescript, which working mostly same as react native.

What is Native Script:

NativeScript is a cross-platform JavaScript framework that lets you develop native iOS, Windows Phone and Android apps from a single code base. The framework provides JavaScript access to the native APIs, user interface and rendering engines of iOS,Android and WP8. By using JavaScript or TypeScript, you can create one project that builds into an iOS or Android app with native user experience.

React Native vs Nativescript

React naitve supports iOS and Andorid platform, nativescript supports iOS, Android and Windows phone. the both are opensource by popularity as per google trends the react native looks step ahead,

react Native vs NativeScript

But i like cover this difference in a separate detailed blog, as per now we can’t conclude react native or nativescript which will be a better one.

Conclusion:

The application developer who are familiar with web technologies will love react native, and sure it is not completely not replace neither hybrid apps nor native , But it is have a huge place to grow. Yes, read the title once again still there is a question mark (cool)

Filed Under: Mobile App Development

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How to Generate random numbers in JavaScript
  • How to Scroll to an Element in a React Component?
  • How to get a Date without the Time in JavaScript
  • How to modify url without reloading the page using javascript
  • How to disable server side rendering in nextjs
  • How to get a file type from URL in JavaScript

Recent Posts

  • How to Generate random numbers in JavaScript
  • How to Scroll to an Element in a React Component?
  • How to get a Date without the Time in JavaScript
  • How to modify url without reloading the page using javascript
  • How to disable server side rendering in nextjs
  • How to get a file type from URL in JavaScript

Recent Comments

    Tags

    beginner colon cross-platform es6 function html ionic iOS javascript mobile application development nextjs objective-c swift switch ternary typescript uiwebview Visual Studio plugin web developer

    Copyright © 2025 Source Freeze