Closed chrisdrackett closed 5 years ago
I figured this out, the following works:
const AppContainer = createBrowserApp(
createStackNavigator(
{
Home: {
screen: Home,
path: ''
},
Profile,
},
{
initialRouteName: 'Home',
},
),
)
I had been trying to use /
as the path that causes issues!
I'm looking to define a route for
/
but I'm not sure how to do this. I was hoping that the value ofinitialRouteName
would be used to define the base route, but that isn't the case.