Skip to content

Instantly share code, notes, and snippets.

@testshallpass
Created October 4, 2018 02:14
Show Gist options
  • Save testshallpass/13f047205d1b966f55340b8962fe99c0 to your computer and use it in GitHub Desktop.
Save testshallpass/13f047205d1b966f55340b8962fe99c0 to your computer and use it in GitHub Desktop.
redux router example
export default function AppContainer() {
return (
<View style={AppStyles.container}>
<Provider store={store}>
<RouterWithRedux scenes={AppRoutes} style={AppStyles.appContainer}/>
</Provider>
<DropdownAlert ref={ref => DropDownHolder.setDropDown(ref)} closeInterval={6000}/>
</View>
);
}
@KrushnaNaghate
Copy link

please give complete code

@yogendrajs
Copy link

this shows blank white screen if not added inside routes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment