React Native vs. NativeScript: A Cross-Platform Viability Analysis
By: Ethan Campbell
Since it is possible that the State of JS team set up a booth at a React Native conference for polling or that the Russians tampered with the results, we felt that we should get a second opinion. For this, we turned to Google Trends to see how much “noise” each platform is making on the web.
Clearly one platform is generating far more noise than the other. How can we separate those researching and marketing the platform to those actually using the different technologies? Our friends at npm-stat.com make this determination quite simple by querying NPM on our behalf. The below stat displays the number of downloads of the “nativescript” and “react-native” libraries which clearly indicate both are growing in usage, but developers are increasingly voting in favor React Native.
The cause behind these adoption figures isn’t entirely clear but please allow us a bit of conjecture. First, we believe the success of React Native and the struggles of NativeScript are largely influenced by the success of the React library in general. Since being introduced in 2013, React’s functional component model and unidirectional data flow have proven more powerful and lightweight than their Angular counterparts, driving higher adoption rates for React.
Secondly, it’s also possible that Angular 2’s introduction superseding AngularJS with a laborious migration path left many development teams feeling burned. Telerik, a primary champion of NativeScript, has also been accused of leaving developers hanging out to dry, most notably with halting new development of their eCommerce platform last year and retiring their Telerik Platform suite this year. To this point, we do find it concerning that while the React Native has 1,600 contributors pushing major releases monthly, NativeScript only has 101 and while they had regularly been pushing major monthly releases, they seemed to have stopped all together in October 2017 (as of mid-Feb 2018).
About Ethan Campbell
Ethan is a Sr Software Engineer for Aptera Software, specializing in mobile technologies. He has been developing enterprise solutions since 2000. As an avid mobile development enthusiast, he loves to study new mobile technologies, languages and industry trends.