Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.1k
Routing and navigation for React Native and Web apps
react-navigation/react-navigation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Routing and navigation for your React Native apps.
Documentation can be found atreactnavigation.org.
This branch contains the code for the latest stable version of React Navigation. You can find the code for previous versions in the following branches:
Please read through ourcontribution 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 usegitpkg
.
First installgitpkg
:
yarn global add gitpkg
Then follow these steps to publish and install a forked package:
- Fork this repo to your account and clone the forked repo to your local machine
- Open a Terminal and
cd
to the location of the cloned repo - Run
yarn
to install any dependencies - If you want to make any changes, make them and commit
- Run
yarn lerna run prepack
to perform the build steps - Now
cd
to the package directory that you want to use (e.g.cd packages/stack
for@react-navigation/stack
) - 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.
About
Routing and navigation for React Native and Web apps
Topics
Resources
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.