react-navigation.github.io
react-navigation.github.io copied to clipboard
Incorrect sample code for Nested Links
In the documentation (https://reactnavigation.org/docs/configuring-links) there is a code sample for nesting links. It is incorrect and requires an alteration.
const config = {
screens: {
Home: {
Chat: 'feed/:sort',
},
Profile: 'user',
},
};
Should read:
const config = {
screens: {
Home: {
screens: {
Chat: 'feed/:sort',
}
},
Profile: 'user',
},
};
This is fixed now, u can close this issue