Routing and navigation for React Native and Web apps
Routing and navigation for React Native and Web apps
Routing and navigation for your React Native apps.
Documentation can be found at reactnavigation.org.
This branch contains the code for the upcoming major version of React Navigation. You can find the code for other versions in the following branches:
Please read through our contribution guide to get started!
Since we use a monorepo, it's not possible to install a package from the repository URL. If you need to install a forked version from Git, you can use gitpkg.
First install gitpkg:
pnpm add --global gitpkgThen follow these steps to publish and install a forked package:
cd to the location of the cloned repopnpm install to install any dependenciespnpm lerna run prepack to perform the build stepscd to the package directory that you want to use (e.g. cd packages/stack for @react-navigation/stack)gitpkg publish to publish the package to your repoAfter publishing, you should see something like this:
Package uploaded to [email protected]:<user>/<repo>.git with the name <name>You can now install the dependency in your project:
pnpm add <user>/<repo>.git#<name>Remember to replace <user>, <repo> and <name> with right values.
Android – Previous screen flashing when using shift transition after upgrading to Expo SDK 54
Default background is not rgb(255, 255, 255)
iOS 27 Beta 7 - Native header press scrolls list up
UnhandledLinkingContext throws while linking is not ready (!isLinkingReady branch omits providers)
[iOS] [V8] Native bottom tabs: no way to adjust icon/label spacing on iOS (react-native-screens supports it, bottom-tabs never forwards it)
Bottom tab bar disappears permanently after rotating on iOS 26+ with tabBarHideOnKeyboard
Linking subscribe listener falls back to resetRoot() instead of dispatching, unlike linkTo()
react-navigation/core 7.20 decode-uri-component: Denial of service via exponential decoding of malformed percent-encoded input from query-string
TypeError: Cannot read property 'Drawer' of undefined
Android: Header briefly flashes white when going back after overriding NavigationContainer theme colors.card