+Note: If you are using Hermes JS Engine, you do not need RAM bundles. When loading the bytecode,
+mmapensures that the entire file is not loaded.
Now that we have a RAM bundle, there is overhead for calling require. require now needs to send a message over the bridge when it encounters a module it has not loaded yet. This will impact startup the most, because that is where the largest number of require calls are likely to take place while the app loads the initial module. Luckily we can configure a portion of the modules to be preloaded. In order to do this, you will need to implement some form of inline require.
+Note: If you are using Hermes JS Engine, you do not need RAM bundles. When loading the bytecode,
+mmapensures that the entire file is not loaded.
Now that we have a RAM bundle, there is overhead for calling require. require now needs to send a message over the bridge when it encounters a module it has not loaded yet. This will impact startup the most, because that is where the largest number of require calls are likely to take place while the app loads the initial module. Luckily we can configure a portion of the modules to be preloaded. In order to do this, you will need to implement some form of inline require.