Using a stateManager with React navigation

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,

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


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.