Category: react-navigation-stack

Why route object sometimes have state and sometimes don’t – in react-navigation v5

Start: <NavigationContainer> <Stack.Navigator> { isLoading ? <Stack.Screen name=”AuthLoadingScreen” component={AuthLoadingScreen} /> : ( user ? ( <Stack.Screen name=”AuthenticatedStack” component={AuthenticatedStack} options={{headerShown: false}}

Continue reading