Skip to content

Nestednavigation , logout action  #7

@Amerr

Description

@Amerr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions