Skip to content

Instantly share code, notes, and snippets.

@knowbody
Created May 28, 2018 08:32
Show Gist options
  • Save knowbody/6262a48ede1a64c3309712e1cae67c53 to your computer and use it in GitHub Desktop.
Save knowbody/6262a48ede1a64c3309712e1cae67c53 to your computer and use it in GitHub Desktop.
import { AppRegistry } from 'react-native';
import { app } from './src/App';
/*
if the "in-source" option is false (the defualt), you will import app this way:
import { app } from "./lib/js/src/App.js";
*/
AppRegistry.registerComponent('MyReasonApp', () => app);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment