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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?