React Native 0.70 is out, and Hermes is the new default JavaScript engine shipping with this update.
What Is Hermes?
The matching versions eliminate the risk of a dependency mismatch in your React Native app.
The JIT system slows down execution because your machine must wait for the entire compilation process to complete.
Hermes improves the average TTI for React Native applications compared to other JavaScript engines.
This reduction in TTI is because Hermes does not run a JIT compiler.
Binary Size
The binary size is the size of the bundled React Native utility.
Android applications use theAPK file format, while iOS apps use a format Apple calls IPA.
Using Hermes significantly reduces tool size on Android devices.
Memory Usage
Memory usage is another critical metric to optimize in applications.
An system’s user experience would be negatively affected if it uses too much memory.
Hermes supports debugging React Native applications using Chrome DevToolss Inspector Protocol.
You should not confuse this with traditionalJavaScript debugging using the browsers console.
To configure Chrome to debug Hermes applications, do these things.
you might now debug your React Native utility using the Hermes target inspect link.
In React Native, you bundle all JavaScript code within the program environment.
This system makes shipping bytecode efficient.
Another factor to consider is the amount of work done during JavaScript compilation.
Hermes manages the frequent user interaction anticipated of mobile applications while avoiding aggressive bytecode optimization.
A JIT compiler JavaScript engine would not perform tasks this way.