For the launch of an app, it is often required to develop it on two different platforms : one on iOS and one on Android, in order to offer the mobile experience on most of the devices available on the market. However, this might change in the upcoming months. Indeed, a new language is starting to attract more and more attention : React Native.
This specificity guaranty a considerable time gain for developers, and logically an important budget reduction for clients. Indeed, instead of a Swift development and an Android one, one React Native development is now enough.
People who are accustomed to ReactJS will not be lost, because the React Native framework is using the same components and a similar structure. More than the libraries enabling access to native functionalities, React Native replace views normally generated in HTML and in CSS by a set of React components that will be substituted on screens by native components.
Concerning the style of those components, they can be made with Stylesheet objects, which even if they are different from CSS hey have alike property names. Layouts are most of the time generated by an equivalent of Flexbos. Everything is done so that a web developer can work easily despite minor differences.
However, just like with web and even if it handles the bridges with native technologies, React Native doesn’t take care of the visual aspect. To handle data of big apps, you will need to quickly consider methods already used with React JS, such as Flux or Redux. Those frameworks are dealing and centralising data needed for the views, simplifying their updates in case of changes.
Tapptic teams have already launched some projects in React Native and results have been very positive!
However, we have to put the light one some minor reservations that could impede the general enthusiasm. To develop some specificities that go further than what the React Native framework is able to offer or the existing plugins, it will be necessary to use some native code (iOS or Android). In this case, native modules will have to be developed and integrated to enable to app to be used on both platforms and to guaranty a global homogenous result.
On the other hand, this technology remains young even though it seems to be stable, it causes an external dependancy which doesn’t happen with native developments. Depending of an external framework supposed to follow closely the adaptation between the OS native’s updates and the React Native’s upgrade.
Another detail to stress is that it is not the first time that a new technology is announced to drastically change the daily life of developers. However, this has not always been true, as the examples of PhoneGap, Cordova and Ionic can confirm.
All things considered, it is certain that React Native may change the approach of mobile development by decreasing the cost of an app at least for its basic functionalities.
React Native Developer @ Tapptic