What’s New In The Latest Version Of React Native v0.68?

The React Native era is initiated by Facebook. It was not well-known at first, but as the trend of cross-platform app development gained in popularity, React Native became well-known. It has since become the most popular framework for developing, coding, and deploying Android and iOS mobile applications.

React Native is an open-source JavaScript framework that allows you to create apps for many platforms, including iOS, Android, and web applications, all from the same codebase. It is React-based and brings all its glory to mobile app development.

Essential features of React.JS

  • Conditional statements
  • Simplicity
  • High performance
  • Multiple components
  • One-way data binding
  • JavaScript Syntax Extension (JSX)
  • Virtual DOM
  • Extensions
  • components

React is used for

  • Web browsing apps
  • Creating user interfaces
  • Dynamic libraries
  • Single-page applications
  • Developing large social media sites

Now let’ see,

What’s new in the latest version of React Native v0.68?

Breaking changes and updates

React Native has been updated to Node 16, which is the most recent LTS version. While on CI, we test for LTS and earlier LTS. This change indicates that users must now use a version of Node >=14.

Always check that your configurations are up to date, as the Android Gradle plugin was updated to 7.0.1, requiring JDK for Android 11 builds. For both Intel and M1Macs, it is suggested that you utilize the zulu11 JDK flavor.

Eliminated fallbackResoruce from RCTBund1eURLProvider API on iOS. This parameter can be safely removed from the method call without being replaced.

The tooling has also been updated, and the following are the most recent updates

  • Metro to 0.67
  • @react-native-community/cli to 7.0.3
  • Flipper to 0.125.0
  • react-devtools-core dependency to 4.23.0
  • kotlin to 1.6.10
  • react-native-codegen to 0.0.9
  • Gradle to 7.3
  • Android compile and target SDK to 31
  • Soloader to 0.10.3

It’s all because of Nicola Corti’s contribution. The Android Gradle plugin will automatically download the default version of the NDK. As a result, there is no longer any need for you to specify and install it separately.

Other enhancements

There are many other improvements and fixes in this release, but we’ve highlighted a few key ones for you to keep an eye on

  • Liam Jones fixed an error when calling the console.error caused the Redbox to appear alongside the LogBox.
  • Jefferey Hyer solved a problem where the keyboardAvoidingView didn’t work as anticipated with the onLayout prop.
  • After a BundleDownloader failure in dev mode on Android, Sam Kline resolved the issue of an empty blank screen.
  • Gjis weterings resolved Forwarding testID to RCTMODALHostView for simpler E2E targeting of Modals.

But if you really want to know the complete list of changes. Just visit this link https://github.com/facebook/react-native/blob/main/CHANGELOG.md#0680  here you will find a complete changelog.

React Native 0.68 is the first version to include opt-in support for the Fabric Renderer and the TurboModule system. It marks a significant turning point in the New React Native Architecture’s implementation.

Website updates include enhancements to the main codebase, as well as plenty of improvements that have landed on the website with the help of Simek, Megatron4537, and slorber.

Conclusion

We hope you found the above-mentioned details helpful if you get to adapt to these updates or changes quickly both you and your business will be hugely benefitted. If you have any queries come to Stellar Digital; we are always ready to provide effective solutions to your problems. Visit Stellardigital.in for more information and also check out our mobile app development services.