-
Notifications
You must be signed in to change notification settings - Fork 200
Conditional routing example #479
Comments
@mitajunior , you can initialize with the stackNavigator with login component as inital and then push tab or drawer page with its tab initalized with the initial page you want like this:(You can use tabNavigator instead) `
'then on login button you can push drawer screen. `export default class DrawerNavigationLayout extends React.Component {
_renderHeader = () => {
}` |
Hi, would you kindly provide an example for conditional routing.
Example
Dashboard (TabView)
Login (Stackview)
The idea is when the app is launched we start with login the if success we change route to the dashboard
Please help
The text was updated successfully, but these errors were encountered: