Does Hermes hide all the JS code in the JS bundle file?

1k Views Asked by At

I heard about Hermes, this tool for react native is supposed to make the app faster by converting the JS code into bytecode (Android). Now my question is: Does this mean that the index.android.bundle in the APK file will contain only bytecode instead of JS code ?

1

There are 1 best solutions below

3
On BEST ANSWER

That is correct. One of the features of Hermes is that it reduces TTI by moving JS compilation from runtime to app package build time.

You can verify this by inspecting the contents of your APK.