Created
June 17, 2016 14:58
-
-
Save dabit3/a771595d61111fbc833abc9c0d5efd82 to your computer and use it in GitHub Desktop.
React Native Navigator Experimental Part 2 — Implementing Redux index.ios.js or index.Android.js
This file contains hidden or 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' | |
import { AppRegistry } from 'react-native' | |
import configureStore from './app/store/configureStore' | |
const store = configureStore() | |
import NavigationRootContainer from './app/containers/navRootContainer' | |
import { Provider } from 'react-redux' | |
const App = () => ( | |
<Provider store={store}> | |
<NavigationRootContainer /> | |
</Provider> | |
) | |
AppRegistry.registerComponent('RNExperimentalRedux', () => App) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment