Skip to content

Instantly share code, notes, and snippets.

@spencercarli
Created February 12, 2016 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spencercarli/ebf024c6ccb525dfa0cc to your computer and use it in GitHub Desktop.
Save spencercarli/ebf024c6ccb525dfa0cc to your computer and use it in GitHub Desktop.
Easily Connect React Native to a Meteor Server - Setting up the React Native App - index.android.js
import React, {
AppRegistry,
Component
} from 'react-native';
import App from './app';
class RNApp extends Component {
render() {
return <App />;
}
}
AppRegistry.registerComponent('RNApp', () => RNApp);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment