Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nestednavigation , logout action #7

Open
Amerr opened this issue Feb 2, 2018 · 0 comments
Open

Nestednavigation , logout action #7

Amerr opened this issue Feb 2, 2018 · 0 comments

Comments

@Amerr
Copy link

Amerr commented Feb 2, 2018

Its a doubt rather than a issue , how the Logout action is handled in navigation reducer,

I checked code , where u reset using Navigation Action and again init with login routeName.

How does it work internally. i have usecase where

TabNavigator({
banner: {screen: banner},
login: {screen: login},
home: TabNav({
logout: { screen: logout },
eventListing: StackNav({
event: { screen: event }
})
})
})

let say my im in Logout screen , how do i update stateForLoggedOut using NavigationAction reset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant