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 (8)
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."
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.
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...
Looks like they didn't. github.com/facebook/react-native/r...
Can the bytecode compilation approach used for node as well?
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!
It would be great if it can be used without React, we definitely need better JavaScript engine for Android.
How do I enable this?
Some comments have been hidden by the post's author - find out more