1import { registerRootComponent } from 'expo'; 2 3import App from './App'; 4 5// registerRootComponent calls AppRegistry.registerComponent('main', () => App); 6// It also ensures that whether you load the app in the Expo Go or in a native build, 7// the environment is set up appropriately 8registerRootComponent(App); 9