How to navigate in a screen which is not defined because of a variable?
问题 When I am in the login screen I would like once the user logs in that it is also redirected to the 'Home' screen but currently, I have an error telling me that the Home is not defined what is normal ... {isAuth ? ( <BottomTab.Screen name='Home' component={Home} /> ): ( <> <BottomTab.Screen name='Connexion' component={Login} /> <BottomTab.Screen name='Inscription' component={Register} /> </> I don't really know how to use contexts yet but I think it might simplify the thing but in the meantime