React Native 0.59 is Released with CLI Improvements, React Hooks & More

By Tripti Rai
2. min read
Last update on: July 16, 2020

A few weeks back, Dan Abramov – one of the recognized React developers, revealed that React Native 0.59 will soon be out in the market with Hook implementation.

And today, the day has come. After the release of the RC0 version of React Native 0.59, the stable version of React Native with Hook implementation and other such updates is finally out.

React Hooks

As hinted when React 16.8 was released, React Native 0.59 is also updated with React Hooks. This introduction of React Hooks is expected to solve a vast number of problems in the React Native app development environment. It is predicted to enable developers to reuse the logic behind the app components without restructuring the components in a hierarchical manner. It is also supposed to make it possible to divide the components into small functions on the basis of relatability between them, rather than initiating a split based on lifecycle methods. Besides, it is expected to empower developers to make the best use of React’s features into their app development without involving the classes.

Improvements in CLI

React Native’s command line tools, which are the developer’s entry point to the development environment, has also been suffering from various concerns, including lack of official support. But now in React Native 0.59, the CLI tools have been shifted to a new repository and a specific group of maintainers have been updated with most awaited improvements.

Update in JSC

React Native has been employing JSC (JavaScript Core) to power up applications for years. But, the concept of JSC on Android was only a few years old, because of which most of the updated JavaScript features were not supportable. And when talking about the iOS platform, the performance is comparably poor from that of iOS’s JSC.

But with this update, the whole scenario will change. The new JSC has come up with 64-bit support, performance improvements and support for the latest JavaScript, which will allow React Native developers to enjoy a seamless performance.

Enhancements in App Start Time with Inline Requires

React Native 0.59 update is also introducing the “Inline Requires” feature. This will let the developers load resources as and whenever required to avoid slowing down the app launch.

In other words, the feature will come up with Bundler tool Metro that examines components which are facilitating Lazy loading so that the application components could be loaded only as and when required. This feature is by default disabled but can be enabled by making value for “inlineRequires’ as “true” in the “metro.config.js” configuration.

Breakthrough Changes

Apart from the aforementioned updates, the latest React Native version has been cleaned up following the upgraded recommendations of Google, which has resulted in a potential breakage of existing mobile applications.

To know further about the update and how will it impact React Native development environment, consult our React Native developers today.

Tripti Rai
Tripti Rai
Content Manager
In search for strategic sessions?.
Let us understand your business thoroughly and help you
strategies your digital product..

Related Articles: