DEV Community

Rishi Kumar Chawda
Rishi Kumar Chawda

Posted on

React Native just got better! The New Javascript Engine is here!

Hermes Engine for React Native is here!

So it started from here :

Facebook officially released React Native v0.60.2 about two hours ago which enables the engine as an opt-in feature. This brings a really big advancement on mobile development with React Native as it will give the Android Applications built with react native a significant boost in performance, smaller build size and less memory usage! 💜❤️

And the integration is so easy! Just enable it in your build.gradle file and that's it. Done 🙆‍♂️ Literally, JUST ONE LINE OF CODE AND THATS IT! ✨

You can see the difference on app startup here!👇 :

The only thing is that you need to upgrade React Native to version 0.60.2 which has a lot of significant changes (RN v0.60 was released a week ago - see changelog here) but well, the improvement for Android apps with this engine is AWESOME! Definitely trying it over the weekend! 💪

Oh, and don't forget to follow this discussion on Hermes' official twitter account!

Who all are excited for this? I definitely am!

You can also follow me on twitter for my shitposts and retweets! 🤓

Top comments (9)

twigman08 profile image
Chad Smith

React Native changed again?
Why am I not surprised. Everytime I look it up they have changed something from a previous release just weeks before.

Sadly I feel like I am only halfway joking. When I was getting started with it anytime I looked anything up I felt like I always saw "this is deprecated now."

rishikc profile image
Rishi Kumar Chawda • Edited

RN hasn't changed with addition of Hermes in v0.60.2. But yeah, there were a lot of changes in v0.60 including some breaking changes too but if you go through the changelog you'll see a lot of good things that happened. Separating out some apis, changes for better DX, etc.

noway profile image

Absolutely amazing! Great news to wake up to, haha!

Anyone knows what 0.60.1 release is reserved for? Looks like they skipped a version after 0.60.0 😅

rishikc profile image
Rishi Kumar Chawda

Looks like they didn't.

domir profile image
Dominique Rau

Can the bytecode compilation approach used for node as well?

rishikc profile image
Rishi Kumar Chawda

As far as I know, v8 generates an AST which then is converted to byte code by igniter. But that's how v8 works with the igniter and turbofan. I don't know much ( yet ) about how Hermes works but I'm going to take a look at it in the following weeks!

akashkava profile image
Akash Kava

It would be great if it can be used without React, we definitely need better JavaScript engine for Android.

mrcflorian profile image

How do I enable this?

Some comments have been hidden by the post's author - find out more