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

Skipping certain Scenes/Navigators when saving state #119

Open
nhaarman opened this Issue Feb 10, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@nhaarman
Copy link
Owner

nhaarman commented Feb 10, 2019

For some Scenes and Navigators it may not make sense to restore for, and it may be easier/more fitting to just not save them.

The existing navigators in the extension artifacts currently always save their internal state, and if possible (if the child supports state saving) save the childrens' state with it.

For the StackNavigator for example, it may not make sense to preserve the entire stack but only up to a certain point. Say Scene C does not want to preserve its state in a stack [A, B, C, D] one could argue that only [A, B] should be restored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment