Merge the RootNavigator, the MainNavigator and the AuthNavigator together into a single RootNavigator.
Handle the authentication path conditionally inside the RootNavigator.
This is to prevent screens to be present several times, fix the typing issue and to decrease the complexity.
Merge the
RootNavigator, theMainNavigatorand theAuthNavigatortogether into a singleRootNavigator.Handle the authentication path conditionally inside the
RootNavigator.This is to prevent screens to be present several times, fix the typing issue and to decrease the complexity.