You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do you think about upgrading to react-navigation 5.X? This example is currently using the 3.X syntax, specifically createAppContainer which is no longer used in 5.x, replaced with the NavigatorContainer Syntax.
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
const Stack = createStackNavigator();
export default function App() {
return (
<NavigationContainer>
<Stack.Navigator>{/* ... */}</Stack.Navigator>
</NavigationContainer>
);
}
@lezzmo, Thanks for this.
What do you think about upgrading to react-navigation 5.X? This example is currently using the 3.X syntax, specifically
createAppContainer
which is no longer used in 5.x, replaced with theNavigatorContainer
Syntax.Upgrading from 4.x
Any reason not to keep this current?
The text was updated successfully, but these errors were encountered: