React Native 0.56 Has Been Introduced: Check out the Changes
- by Bhumi Goklani
- 6 minutes read
- 29.5k Views
The long wait is over as the new React Native version 0.56 is now available. So, finally, the developers have something to cheer for. There have been various changes in this latest version, which is something to watch out for. One of the major reasons cited for the delay in the release is the dilemma regarding the breaking changes or the time for launching the new version.
One of the most prominent features of this framework is that it allows the developers to reuse the codes across the web and mobile. Another aspect that makes it a preferred choice of the developers is that there is a subtle distinction between completed apps developed with Objective C and apps built on React Native.
First, the 0.56 version of the React Native is being considered as the important building block, offering a more stable framework. As such the development team involved in making these notable changes has used different tools that need continuous support and coordination so that it can function smoothly. In addition, it also has the extended helping hand of an energetic open-source community to back the project.
However, according to the development team, the breaking changes in React Native have not been as easy and seamless as expected. Therefore, the earlier deadlines had to be skipped to test the changes.
However, the React Native team also believes that it would take some time for developers to adopt the new version and bring it in extensive usage. According to the official information, a total of 67 contributors have worked on about 818 commits (!).
Now, let’s analyze the major changes
Improving the Support for Android
As far as the Android Operating System is concerned, there have been key changes related to surrounding tools. The various updates include Gradle 3.5, Android SDK 26, and Fresco to 1.9.0 and OkHttp to 3.10.0 and the NDK API target to API 16. The team believes that the developers will not find any difficulty or issue here and all these updates will further assist in the faster development of apps.
In addition, the developers will also be able to abide by the requirements of the new Play Store, which is expected to release within the next month. However, a few more steps have to be taken on this front and you can meanwhile plan and discuss upgrading the Android support in the dedicated issue.
The New Node, Xcode, React, and Flow
It must be noted that now Node 8 will be considered as the standard for the React Native as its testing is complete and also because of the fact that Node 6 is under maintenance mode. Additionally, the React has also been updated to the version 16.4 with a lot of improvement.
And for the iOS platform, no support further will be available for the iOS 8 in 0.56 version as the team is concentrating on targeting the iOS 9 as the oldest version for lending support. Here too, the users and developers will not find any issue as all iOS 8 supporting devices can be easily upgraded to iOS 9. The team was able to remove the rarely used code used in the old iOS 8 version due to this key change.
For providing the best support to conduct a comprehensive iOS testing, the constant integrated toolchain has been upgraded to use the Xcode 9.4. It allows developers to run their apps on the Apple’s latest developer tools.
Besides, the team has updated to Flow 0.75 for using the new error format and built several other components. The debugging has been made simpler by the replacement of YellowBox with a new implementation. You need to stay abreast of the latest updates.
The New Version of Babel
In addition, to these, there are several other changes that have been introduced with the release of React Native version 0.56. You need to refer the complete changelog for full information on the release notes. Apart from that, please keeping on viewing the upgrading guide to avoid any difficulty related to updates.
It also needs to be noted that the React Native team will be conducting the meetings on a monthly basis so that everyone involved with this update remains up-to-date on what’s going on currently and coming up next further.
Another vital aspect to be remembered is that since React Native is still in the version 0.x as many changes are still getting underway, the developers may come across a few crashes during an update. Therefore, they should help one another towards resolving the issues while submitting the PRs. Don’t forget to stick to the enforced CoC.