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

Rishi Kumar Chawda @rishikc

About: Engineer. Photographer.

Location:
Bangalore, India
Joined:
Jun 1, 2019

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

Publish Date: Jul 11 '19
69 9

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! 🤓

Comments 9 total

  • Ilia
    IliaJul 11, 2019

    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 😅 github.com/facebook/react-native/r...

  • Chad Smith
    Chad SmithJul 11, 2019

    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."

    • Rishi Kumar Chawda
      Rishi Kumar ChawdaJul 12, 2019

      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.

  • Dominique Rau
    Dominique RauJul 12, 2019

    Can the bytecode compilation approach used for node as well?

    • Rishi Kumar Chawda
      Rishi Kumar ChawdaJul 12, 2019

      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!

  • Akash Kava
    Akash KavaJul 12, 2019

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

  • mrcflorian
    mrcflorianDec 6, 2019

    How do I enable this?

Add comment