react-navigation

Routing and navigation for your React Native apps

Github星跟踪图

React Navigation 5

Build Status
Code Coverage
MIT License

Routing and navigation for your React Native apps.

Documentation can be found at reactnavigation.org.

If you are looking for version 4, the code can be found in the 4.x branch.

Contributing

Please read through our contribution guide a to get started!

Installing from a fork on GitHub

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:

yarn global add gitpkg

Then follow these steps to publish and install a forked package:

  1. Fork this repo to your account and clone the forked repo to your local machine
  2. Open a Terminal and cd to the location of the cloned repo
  3. Run yarn to install any dependencies
  4. If you want to make any changes, make them and commit
  5. Now cd to the package directory that you want to use (e.g. cd packages/stack for @react-navigation/stack)
  6. Run gitpkg publish to publish the package to your repo

After publishing, you should see something like this:

Package uploaded to git@github.com:<user>/<repo>.git with the name <name>

You can now install the dependency in your project:

yarn add <user>/<repo>.git#<name>

Remember to replace <user>, <repo> and <name> with right values.

主要指标

概览
名称与所有者react-navigation/react-navigation
主编程语言TypeScript
编程语言JavaScript (语言数: 2)
平台
许可证
所有者活动
创建于2017-01-26 19:51:40
推送于2025-06-14 22:17:23
最后一次提交
发布数2930
最新版本名称@react-navigation/stack@7.3.4 (发布于 2025-06-14 16:24:53)
第一版名称v1.0.0-beta.1 (发布于 )
用户参与
星数24k
关注者数314
派生数5.1k
提交数3.2k
已启用问题?
问题数9788
打开的问题数811
拉请求数1240
打开的拉请求数24
关闭的拉请求数699
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?