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