'What is the "ID of the navigator" provided to React Navigation's NativeStackScreenProps?
The React Navigation documents provide some suggestions on TypeScript type checking that include the following for type checking screens:
type Props = NativeStackScreenProps<RootStackParamList, 'Profile', 'MyStack'>;
The final argument is the (optional) "ID of the navigator", but it's not clear where that comes from or what it represents.
What is the "ID of the navigator" provided to NativeStackScreenProps?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
