Learn React Native History
It all started when Jordan Walke generated iOS UI components from JS thread background. Extension of this work lead to the creation of Native React. The collaborated efforts of several communities and Facebook developers, React Native was an internal project too, supporting their Ad Manager app for iOS and Android version.
Later-on, getting a back from giants like Microsoft and Samsung (at the annual F8 Facebook conference), React Native was to be used as the most trendy framework ever used. Facebook made Native React public in March of 2015 at the Facebook React.JS Conference.
Read More: – Learn Latest Web Development Frameworks in 2018
Decoding React Native Working
The working principle of Native React is to render iOS components by invoking Objective-C API or Android components by invoking Java APIs. The working is pretty much similar to React, apart from the fact that React manipulates browser’s DOM (Document Object Model).
There is a connector or bridge (serializable, asynchronous and batched) between the native platform and React Native. With Virtual DOM providing an abstraction layer, React Native goals other platforms as well. Altogether, React Native is using React components with slight alterations in rendering and style.
In simpler terms, the traditional way of programming apps in Java API (Android) or Objective C/Swift (iOS) has gone obsolete since the creation of React Native. Rather, React Native framework creates interfaces semantically similar to the web. If the platform is changed, small changes in declaratives and components in the codes would yield the same desired results
- After the first React Native v.0.5.0 documented release on June 6, 2015 there has been a regular update to the existing framework. The latest version React Native v0.55.0 was released on March 2018.
React Native v0.55.0 What’s new?
• Support to Android TV device like implementing letterspacing style, AndroidInfoModule
• Using Native Driver for Animation Tracker including useNativeDriver flag, UTFSSequence in library, added contextMenuHidden & testOnly_pressed, etc.
• Added iOS related features such as introducing InputAccessoryView, base-line, implementing new UIManager API, etc.
• Many Flow improvements
• Troubleshooting Android and iOS related Bugs
• Adoption of MIT licence
Coding Layout and Style
The coding style has evolved to become much simpler and understandable. The declarations are more readable and follows the Facebook’s thought of “learn once, write anywhere”. The codes have been transformed to a very simple linguists form to , which makes it easier to grasp.
React Native has increased the responsiveness of the user interface providing asynchronous JS interactions. Their achievement to bring the mobile user UI smoother experience is recommendable. With more coding component additions, React Native is able to achieve a smoother animation flow in simplest coding layout.
Read More: – Top Programming Languages You Should Learn in 2018
Implementation of Native components
React Native is reimplementing existing native components present already instead of investing time in new native creations. Therefore, the Native environment is adding more performance and flexibility to the applications than regular browser environment.
The React Native foundation was set on idea of cross platform code development. It seems to have achieved its goal with its working implementation of the same framework, on platforms like Android and iOS. The codes can be written in one’s own Native Module, which could be later synchronized with the React Native base code.
Third party Plugins
With React Native, there is no need to always rely on WebView, in case there is a need to add a third-party plugins into a native app. React Native provides Native Module, which utilize less memory and loads faster. They can be linked to the existing app to yield same results.
Apache License 2.0 was the initial public release in May 2013. But later-on a lot of issues occurred between Facebook and Apache, due to some licensing clauses. This eventually led Facebook to announce re-licensing React, Jest, Flow and Immutable under the standard MIT Licence, on Sept. 23rd 2017.
Giants like Instagram and Airbnb have followed the path of Facebook, and now have their mobile apps developed using React Native. A bright future awaits for React Native, and it would certainly carve remarkable footprints in the field of native app development.