react-navigation.github.io
react-navigation.github.io copied to clipboard
Home of the documentation and other miscellanea
On summary section, the 1st tip: navigation.navigate('RouteName') pushes a new route to the stack navigator if it's not already in the stack, otherwise it jumps to that screen. The word...
The Tabs Navigation documentation provides an example of putting a StackNavigator on a tab route. In the example, the name for the tab and the stack are the same: `Home`...
Need to `pod install` after installing `react-native-pager-view`
Fixes incorrect usage example
clarify meaning of current screen for stack navigator transition events. See https://github.com/react-navigation/react-navigation/pull/9915
If you use use `createURL('/')`. you will get a triple-slashed prefix in a standalone app; e.g. "myapp:///". You have to use `createURL('')`, which gives a double-slashed prefix in a standalone...
### Motivation When trying out the `next` version of `@react-navigation/stack` the `NavigationContainer` fails to mount with an error `"TypeError: Cannot read property 'SafeAreaProviderCompat' of undefined"` There is a comment here:...
correcting a typo in line 184 which previously read "This can leads to bugs". Now it reads "This can lead to bugs". Removed the 's' in lead. (under version 5.x)...
Clarify that preventing going back doesn't work properly with `native-stack`.