Skip to content

Instantly share code, notes, and snippets.

@vemarav
Last active November 6, 2019 13:03
Show Gist options
  • Save vemarav/7bcccc331676445ae2dfd43f50c53a3c to your computer and use it in GitHub Desktop.
Save vemarav/7bcccc331676445ae2dfd43f50c53a3c to your computer and use it in GitHub Desktop.
import {AppRegistry} from 'react-native'
import {name as appName} from './app.json'
import App from './App'
AppRegistry.registerComponent(appName, () => App)
AppRegistry.runApplication(appName, {
initialProps: {},
rootTag: document.getElementById('app-root'),
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment