Hi people,
I’m using the React-Navigation to create a createSwitchNavigator. But as I understand, I cant use Redux with this, so I’m trying the Context API. But I only have this in my app.js file
const AuthStack = createStackNavigator({
Welcome: WelcomeScreen,
});
const AppStack = createBottomTabNavigator({
Countdown: CountdownScreen,
Questions: QuestionsScreen,
Profile: ProfileScreen,
},
{
initialRouteName:'Questions',
});
export default createSwitchNavigator(
{
AuthLoading: AuthLoadingScreen,
App: AppStack,
Auth: AuthStack,
},
{
initialRouteName: 'AuthLoading',
}
);
But how do I wrap my application in the as I dont have real to wrap around?
Hope this makes sense
Cheers
Kasper