Skip to content

Instantly share code, notes, and snippets.

@dabit3
Created June 17, 2016 14:58
Show Gist options
  • Save dabit3/a771595d61111fbc833abc9c0d5efd82 to your computer and use it in GitHub Desktop.
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
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