Skip to content

Instantly share code, notes, and snippets.

@trooperandz
Last active April 22, 2020 05:45
Show Gist options
  • Save trooperandz/50a98513df09cd2440cb38ac0eb52db0 to your computer and use it in GitHub Desktop.
Save trooperandz/50a98513df09cd2440cb38ac0eb52db0 to your computer and use it in GitHub Desktop.
React Native main app entry file with redux store
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