react-navigation.github.io
react-navigation.github.io copied to clipboard
Home of the documentation and other miscellanea
There is a missing import in the first two examples: ```javascript import { NavigationContainer } from '@react-navigation/native'; ``` https://reactnavigation.org/docs/multiple-drawers/
On the nested navigators inside the fundamental section, the snack example [here](https://snack.expo.io/?platform=android&name=Header%20buttons%20%7C%20React%20Navigation&dependencies=%40expo%2Fvector-icons%40*%2C%40react-native-community%2Fmasked-view%40*%2Creact-native-gesture-handler%40*%2Creact-native-pager-view%40*%2Creact-native-paper%40%5E4.7.2%2Creact-native-reanimated%40*%2Creact-native-safe-area-context%40*%2Creact-native-screens%40*%2Creact-native-tab-view%40%5E3.0.0%2C%40react-navigation%2Fbottom-tabs%406.3.1%2C%40react-navigation%2Fdrawer%406.4.1%2C%40react-navigation%2Felements%401.3.3%2C%40react-navigation%2Fmaterial-bottom-tabs%406.2.1%2C%40react-navigation%2Fmaterial-top-tabs%406.2.1%2C%40react-navigation%2Fnative-stack%406.6.1%2C%40react-navigation%2Fnative%406.0.10%2C%40react-navigation%2Fstack%406.2.1&hideQueryParams=true&sourceUrl=https%3A%2F%2Freactnavigation.org%2Fexamples%2F6.x%2Fnested-navigators.js) is not working
# Summary Following the [documentation](https://reactnavigation.org/docs/hello-react-navigation) provided, I see that there is an issue when setting the property `initialRouteName` to the `NavigationContainer` tag. Computer: Mac OS 14.1 (23B74) Editor: VSCode using...
I have installed this package in my react-native application but after the installation succeeded, the images on iOS stopped working. Before the installation of that package, my Image component was...
I'm using Deep link refer to doc: https://reactnavigation.org/docs/deep-linking#setup-with-expo-projects. - Install dependencies: ```json { "dependencies": { "expo": "^49.0.13", "expo-linking": "~5.0.2" } } ``` - Configure my app.json ```json { "name": "ReactNativeDemo",...
## Problem See: https://reactnavigation.org/docs/bottom-tab-navigator/ "make me a sandwich" "sudo make me a sandwich" https://www.google.com/search?q=%22make+me+a+sandwich%22 https://www.dictionary.com/e/memes/make-me-a-sandwich/ https://www.urbandictionary.com/define.php?term=Make%20me%20a%20sandwich https://knowyourmeme.com/memes/make-me-a-sandwich ## Solution The documentation should not include a .mov with this in the...
### Problem All react-navigation SVGs are not optimized properly. And they have big file size of around 33 KB which is because these SVGs has many control points. **SVG Files**...
Please update the documentation for Drawer Navigator -> Installation -> install the v2 (2.17.0) version of [react-native-reanimated](https://docs.swmansion.com/react-native-reanimated/). By default when using npm or yarn it will install the latest version...
import * as React from 'react'; import { Button, View, Text } from 'react-native'; import { NavigationContainer } from '@react-navigation/native'; import { createNativeStackNavigator } from '@react-navigation/native-stack'; function Home({ navigation })...
When running on a bare react-native project, the [stack navigator for each tab](https://reactnavigation.org/docs/tab-based-navigation#a-stack-navigator-for-each-tab) code example triggers the following warning: ``` Found screens with the same name nested inside one another....