Skip to content

document nav lifecycle #251

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

Merged
merged 2 commits into from
Sep 25, 2018
Merged

document nav lifecycle #251

merged 2 commits into from
Sep 25, 2018

Conversation

vonovak
Copy link
Member

@vonovak vonovak commented Sep 23, 2018

attempts to close #227

@vonovak vonovak requested a review from brentvatne September 23, 2018 20:11
@react-navigation-bot
Copy link

react-navigation-bot commented Sep 23, 2018

Deploy preview for react-navigation ready!

Built with commit 22ff639

https://deploy-preview-251--react-navigation.netlify.com


We start on the `HomeScreen` and navigate to `DetailsScreen`. Then we use the tab bar to switch to the `SettingsScreen` and navigate to `ProfileScreen`. After this sequence of operations is done, all 4 of the screens are mounted! If you use the tab bar to switch back to the `HomeStack`, you'll notice you'll be presented with the `DetailsScreen` - the navigation state of the `HomeStack` has been preserved!

## React-Navigation lifecycle events

This comment was marked as abuse.

@brentvatne
Copy link
Member

only one small nit here, otherwise looks like a really nice addition!

@vonovak vonovak merged commit 35e30a8 into source Sep 25, 2018
@vonovak vonovak deleted the @vonovak/nav-lifecycle branch September 25, 2018 07:24
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

Successfully merging this pull request may close these issues.

StackNavigator specific lifecycle should be emphasized
3 participants