Current Behavior:

When using SwitchNavigator and set resetOnBlur: false.

SwitchNavigator contains two stack navigator A and B.

Switch from A to B

then switch back to A

Navigator just keep the route state, but all screen components lost the state of react component.

Expected Behavior:

I think most time, screen component should keep the state after user switch from other stackNavigator

For example, when the app became active from background, we need to display the lock screen, so we switch the navigator to lockNavigator.

User unlock it with TouchID or FaceID, then we switch it back to the main navigator, the screen components in the main navigator should not lose the component state.