Open jelenadj opened 5 years ago
If I have two stacks with a few scenes inside of them, is it possible to reset state of origin Stack, once when "reset" is invoked with the key of Scene from another Stack?
For better understanding, this is an example of structure:
<Stack key="firstStack"> <Scene initial={true} key="firstStackFirstScene"> </Stack> <Stack key="secondStack"> <Scene initial={true} key="secondStackFirstScene"> <Scene key="secondStackSecondScene"> </Stack>
Steps:
Question: Is there a way to reset state of that second stack, once when navigation is moved to another Stack using "reset" method?
I also can't reset the previous state Scene ((
Version
If I have two stacks with a few scenes inside of them, is it possible to reset state of origin Stack, once when "reset" is invoked with the key of Scene from another Stack?
For better understanding, this is an example of structure:
Steps:
Question: Is there a way to reset state of that second stack, once when navigation is moved to another Stack using "reset" method?