Skip to content

Reset/go to to parent router #307

@primalyeti

Description

@primalyeti

Right now, if I push into a Navigator, i'm unable to access the parent. Would be sweet if this could be updated.

Ex:

const AppNavigator = StackNavigator({......});
const AuthNavigator = StackNavigator({.....});
const RootNavigator = StackNavigator({
	init: {
		screen: RootContainer
	},
	auth: {
		screen: AuthNavigator
	},
	app: {
		screen: AppNavigator
	}
}, {
	initialRouteName: 'init',
	headerMode: 'screen',
});

If i push into auth, im stuck in there. Only workaround i've found so far is to put everything on the same "level"

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions