Open Amerr opened 6 years ago
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.
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.