Created
September 9, 2018 16:18
Index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; // Remember to import React | |
import { AppRegistry } from 'react-native'; | |
import { Provider } from 'react-redux'; | |
import {name as appname} from './app.json'; | |
import Application from './src/app'; | |
import configStore from './src/store/config_store'; | |
const store = configStore(); | |
const RNRedux = () => ( | |
<Provider store={ store }> | |
<Application/> | |
</Provider> | |
); | |
AppRegistry.registerComponent (appname, () => RNRedux); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment