redux-react-navigation-demos icon indicating copy to clipboard operation
redux-react-navigation-demos copied to clipboard

Nestednavigation , logout action

Open Amerr opened this issue 7 years ago • 0 comments

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.

Amerr avatar Feb 02 '18 17:02 Amerr