Hermes for Expo

  1. SDK Version: 40
  2. Platforms(Android/iOS/web/all): Android I guess

I got a new notice using SDK 40:

:bulb: JavaScript bundle sizes effect startup time. Learn more: https://expo.fyi/javascript-bundle-sizes

But I can only find React Native specific information about. how to put it into effect, and no Expo documentation.

Is it available for Expo?

Best
Andy

Hermes is not yet available in the managed workflow. See the feature request.

What you can do in the managed workflow is the last paragraph on the page you linked to:

You can analyze the contents of your JavaScript bundles using react-native-bundle-visualizer. It will show you how much each package in your project contributes to the overall bundle size.

See also the following: https://expo.fyi/managed-app-size

Thanks!

So no precompiling yet?

Right. Unless you eject to the bare workflow:

You can improve startup time on low-end Android devices in the bare workflow by opting in to using Hermes and precompiling your app to Hermes bytecode at buildtime.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.