Last active
April 22, 2020 05:45
-
-
Save trooperandz/50a98513df09cd2440cb38ac0eb52db0 to your computer and use it in GitHub Desktop.
React Native main app entry file with redux store
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-native-gesture-handler'; | |
import React from 'react'; | |
import { Provider } from 'react-redux'; | |
import { Navigation as NavigationContainer } from '../navigation'; | |
import { configureStore } from 'redux/store'; | |
const store = configureStore(); | |
const App = () => ( | |
<Provider store={store}> | |
<NavigationContainer /> | |
</Provider> | |
); | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment