Util.reload() Lifecycle / Common Patterns


Hey everybody!

I was wondering why sometimes I’d see old changes after uploading a new build. After perusing the documentation I found Expo.Util.reload()

Do I need to call this? I don’t think so, but I think I can have a more consistent experience if I do.

If that is the case, is there a good pattern? Do i want to call it within App.js every time it mounts?



This might be related to what potentially looks like a bug with standalone apps loading older cached JavaScript on the device (ex: you install an old standalone app, then install a new one, and see the old JS): https://github.com/expo/expo/issues/1122. This isn’t intended behavior and could be a bug.

You shouldn’t have to call Expo.Util.reload() in most projects unless you’ve just received a notification about a JS bundle update and the user wants to reload the app.