I have created basic ui with react native and Navigation React Navigation V2 My App's entry file(App.js) like this
//App.js
const App = createSwitchNavigator(
{
StartupScreen: Validator, //validating accesstoken existing or not if existing navigate to Dashboard otherwise login page
Login:Login,
DashBoard: Dashboard //tabbed view
},
{
initialRouteName: 'StartupScreen',
}
);
export default App
how can integrate here with redux?
that is how can I pass store to app like
<Provider store={store}> <App /></Provider>
to get store every page.
Thanks in advance