React Native Introduces Its Latest Version 0.60
- by Rushi Patel
- 5 minutes read
- 46.1k Views
After several months of dedication and hard work, recently, React Native, developed by Facebook, has declared the launch of its latest version 0.60. Users are highly curious as well as excited to see each and every feature this new version has to offer. Prior to discussing its latest features, let us give you a brief idea regarding this framework.
Now users can easily optimize the current features of the React Native 0.59 also with the launch of new updates in the most recent version 0.60. In addition, many problems with the earlier version have been also fixed to offer a seamless experience to all users.
Here are some of the new updates introduced in React Native 0.60:
1. Enhancements in Accessibility
The arrival of new version comes brings a lot of enhancements in accessibility APIs both on iOS and Android. Since the latest features utilize APIs offered by the basic platform directly, they will simply combine with native support technologies.
Following are a few of the accessibility improvements of React Native 0.60:
- Now iOS accessibility flags and reduce motion are assisted on iOS.
- Many missing roles have been included for different elements.
- An onClick callback and a clickable prop are included to invoke actions through keyboard navigation.
- There is the latest accessibility states API for greater web assistance in the future.
- Now maximized accessibility actions will add callbacks which handle accessibility around user-specific functions.
- At present, AccessibilityInfo.announceForAccessibility is supported on Android.
2. Migration to AndroidX
AndroidX is a big step supported in the Android ecosystem. The earlier support library artifacts are being derogated.
For the new version 0.60, React Native has been migrated to AndroidX. This is a noteworthy change and your native code and reliance will have to be migrated also.
With this migration, React Native applications will have to start utilizing AndroidX on their own. You can’t utilize them side-by-side in a single application; hence, all of the app and reliance code should be utilizing one or another.
While your own native code will have to be changed by you, the React Native community (@mikehardy, @cawfree, and @m4tt72) developed and have come up with a smart tool named “jetifier” for patching your node_modules.
Moreover, library maintainers will have to upgrade; however, this clever tool offers you a temporary solution while offering time for launching a new AndroidX version. Hence, in case you find errors associated with AndroidX migration, take this into account.
3. A Fresh Start Screen
The new application start screen arrives with the latest launch. It is believed to be more user-friendly because it displays helpful guidelines like Documents links, editing App.js, the ways of aligning with the upcoming website redesign, and the ways of beginning the debug menu.
The users will be introduced with the ecosystem in a better manner by the fresh UI ‘Hello World’.
4. Lean Core Project Extractions
For bringing the React Native repository to a favorable condition, the team began the Lean Core Project. And as a part of the specific project, they have removed NetInfo and WebView into individual repositories.
With the all-new React Native 0.60, the team has completed their migration out of the React Native repository. Depending on the community feedback regarding the new App Store rules, Geolocation has also been removed.
5. CocoaPods by Default, Now a Part of React Native For iOS
Presently, React Native for iOS has come up with CocoaPods by default, which is an app-level reliance manager for Objective-C and Swift Cocoa projects. From now on, developers are advised to open the iOS platform code with the use of the xcworkspace file.
In addition, the specifications of Pod for the internal packages have been upgraded for making them compatible with the Xcode projects that will help with debugging as well as troubleshooting.
6. Now Native Modules are Autolinked
The team performing on the React Native CLI has launched primary enhancements to native module linking named ‘Autolinking’. In maximum conditions, there is no need to utilize the react-native link any longer.
Simultaneously, the team updated the linking procedure in general. Make sure to react-native unlink every pre-existing dependency.
It can be ultimately concluded that React Native framework is significantly better than other platforms. You don’t need to believe our words because you can find it on your own after going through the aforementioned updates.
React Native has acquired immense popularity due to its performance. It’s great that the React Native app development eliminated the time of app building from 40% to almost 90%.
In addition, applications built for both iOS and Android will remain similar across both platforms. For the future, it can be predicted that the React Native platform will be higher on-demand and its user-base will possibly increase as the years pass by.
Alongside these amazing updates, the React Native Community and the team have launched a new tool called Upgrade Helper for making the upgrade procedure more seamless.
While these are the latest features which we discussed, there are many more for being excited about. In order to check out all the updates, stay tuned for more news. Meanwhile, enjoy React Native 0.60!