mirror of
https://github.com/morten-olsen/react-native-ref.git
synced 2026-02-08 00:36:24 +01:00
8 lines
314 B
JavaScript
8 lines
314 B
JavaScript
import { registerRootComponent } from 'expo';
|
|
|
|
import { App } from './src/app';
|
|
|
|
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
|
// It also ensures that whether you load the app in Expo Go or in a native build,
|
|
// the environment is set up appropriately
|
|
registerRootComponent(App); |