@expo/metro-runtime
Injects runtime code required for advanced Metro bundling features in the Expo ecosystem.
Usage
expo-routerusers do not need to install this package, it is already included.
yarn add @expo/metro-runtime
Import this somewhere in the initial bundle. For example, the App.js:
import '@expo/metro-runtime';
expo/metro-config will automatically move this import to be first in the bundle.