Github url

react-navigation

by react-navigation

react-navigation /react-navigation

Routing and navigation for your React Native apps

18.4K Stars 3.9K Forks Last release: 15 days ago (@react-navigation/[email protected]) 1.2K Commits 1.0K Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

React Navigation 5

Build StatusCode CoverageMIT 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.

Package Versions

| Name | Latest Version | | ------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | | @react-navigation/core | badge | | @react-navigation/native | badge | | @react-navigation/routers | badge | | @react-navigation/stack | badge | | @react-navigation/drawer | badge | | @react-navigation/material-top-tabs | badge | | @react-navigation/material-bottom-tabs | badge | | @react-navigation/bottom-tabs | badge | | @react-navigation/devtools | badge |

Contributing

Please read through our contribution guide 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

](https://github.com/ramasilveyra/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 [email protected]:<user>/<repo>.git with the name <name>
</name></repo></user>

You can now install the dependency in your project:

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

Remember to replace

<user></user>

,

<repo></repo>

and

<name></name>

with right values.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.