Navigate to a screen in a nested navigator In React Navigation, navigating to a specific nested screen can be controlled by passing the screen name in params. This renders the specified nested screen instead of the initial screen for that nested navigator.
For example, from the initial screen inside the root navigator, you want to navigate to a screen called media inside settings (a nested navigator). In React Navigation, this is done as shown in the example below:
React Navigation
https://docs.expo.dev/router/advanced/nesting-navigators/
navigation.navigate('root', {
screen: 'settings',
params: {
screen: 'media',
},
});