react-navigation-stack
Stack navigator component for React Navigation
Last updated 10 days ago by satya164 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-navigation-stack 
SYNC missed versions from official npm registry.

React Navigation Stack

Build Status Version MIT License

Stack navigator for use on iOS and Android.

Installation

Open a Terminal in your project's folder and run,

yarn add react-navigation-stack @react-native-community/masked-view react-native-safe-area-context

or

npm install react-navigation-stack @react-native-community/masked-view react-native-safe-area-context

Usage

import { createStackNavigator } from 'react-navigation-stack';

export default createStackNavigator({
  Inbox: InboxScreen,
  Drafts: DraftsScreen,
}, {
  initialRouteName: 'Inbox',
});

Development workflow

To setup the development environment, open a Terminal in the repo directory and run the following:

yarn bootstrap

While developing, you can run the example app with Expo to test your changes:

yarn example start

The code in this repo uses the source from @react-navigation/stack and patches it to make it usable in React Navigation 4. If you need to make changes, please send a pull request there.

If the change is specifically related to React Navigation 4 integration, first run yarn patch:apply, then change the files in src/vendor to resolve any conflicts and then run yarn patch:create to update the patch file with the latest changes.

Make sure your code passes TypeScript and ESLint. Run the following to verify:

yarn typescript
yarn lint

To fix formatting errors, run the following:

yarn lint --fix

Docs

Documentation can be found on the React Navigation website.

Current Tags

  • 2.0.0-alpha.42                                ...           alpha (a year ago)
  • 0.0.0-5caca5c                                ...           experimental (a year ago)
  • 2.10.2                                ...           latest (10 days ago)
  • 1.4.0-alpha.0                                ...           next (a year ago)

184 Versions

  • 2.10.2                                ...           10 days ago
  • 2.10.1                                ...           a month ago
  • 2.10.0                                ...           a month ago
  • 2.9.0                                ...           a month ago
  • 2.8.4                                ...           2 months ago
  • 2.8.3                                ...           2 months ago
  • 2.8.2                                ...           5 months ago
  • 2.8.1                                ...           5 months ago
  • 2.8.0                                ...           5 months ago
  • 2.7.0                                ...           6 months ago
  • 2.6.0                                ...           6 months ago
  • 2.5.1                                ...           7 months ago
  • 2.5.0                                ...           7 months ago
  • 2.4.0                                ...           7 months ago
  • 2.3.13                                ...           7 months ago
  • 2.3.12                                ...           7 months ago
  • 2.3.11                                ...           8 months ago
  • 2.3.10                                ...           8 months ago
  • 2.3.9                                ...           8 months ago
  • 2.3.8                                ...           8 months ago
  • 2.3.7                                ...           8 months ago
  • 2.3.6                                ...           8 months ago
  • 2.3.5                                ...           8 months ago
  • 2.3.4                                ...           8 months ago
  • 2.3.3                                ...           8 months ago
  • 2.3.2                                ...           8 months ago
  • 2.3.1                                ...           9 months ago
  • 2.3.0                                ...           9 months ago
  • 2.2.3                                ...           9 months ago
  • 2.2.2                                ...           9 months ago
  • 2.2.1                                ...           9 months ago
  • 2.2.0                                ...           9 months ago
  • 2.1.1                                ...           10 months ago
  • 2.1.0                                ...           10 months ago
  • 2.0.16                                ...           10 months ago
  • 2.0.15                                ...           a year ago
  • 2.0.14                                ...           a year ago
  • 2.0.13                                ...           a year ago
  • 2.0.12                                ...           a year ago
  • 2.0.11                                ...           a year ago
  • 2.0.10                                ...           a year ago
  • 2.0.9                                ...           a year ago
  • 2.0.8                                ...           a year ago
  • 2.0.7                                ...           a year ago
  • 2.0.6                                ...           a year ago
  • 2.0.5                                ...           a year ago
  • 2.0.4                                ...           a year ago
  • 2.0.3                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0-alpha.42 [deprecated]           ...           a year ago
  • 2.0.0-alpha.41 [deprecated]           ...           a year ago
  • 2.0.0-alpha.40 [deprecated]           ...           a year ago
  • 2.0.0-alpha.39 [deprecated]           ...           a year ago
  • 2.0.0-alpha.38 [deprecated]           ...           a year ago
  • 2.0.0-alpha.37 [deprecated]           ...           a year ago
  • 2.0.0-alpha.36 [deprecated]           ...           a year ago
  • 2.0.0-alpha.35 [deprecated]           ...           a year ago
  • 2.0.0-alpha.34 [deprecated]           ...           a year ago
  • 1.10.3 [deprecated]           ...           a year ago
  • 2.0.0-alpha.33 [deprecated]           ...           a year ago
  • 2.0.0-alpha.32 [deprecated]           ...           a year ago
  • 2.0.0-alpha.31 [deprecated]           ...           a year ago
  • 2.0.0-alpha.30 [deprecated]           ...           a year ago
  • 1.10.2 [deprecated]           ...           a year ago
  • 1.10.1 [deprecated]           ...           a year ago
  • 1.10.0 [deprecated]           ...           a year ago
  • 2.0.0-alpha.29 [deprecated]           ...           a year ago
  • 2.0.0-alpha.28 [deprecated]           ...           a year ago
  • 2.0.0-alpha.27 [deprecated]           ...           a year ago
  • 2.0.0-alpha.26 [deprecated]           ...           a year ago
  • 1.9.4 [deprecated]           ...           a year ago
  • 2.0.0-alpha.25 [deprecated]           ...           a year ago
  • 2.0.0-alpha.24 [deprecated]           ...           a year ago
  • 2.0.0-alpha.23 [deprecated]           ...           a year ago
  • 2.0.0-alpha.22 [deprecated]           ...           a year ago
  • 2.0.0-alpha.21 [deprecated]           ...           a year ago
  • 2.0.0                                ...           a year ago
  • 2.0.0-alpha.20 [deprecated]           ...           a year ago
  • 1.9.3 [deprecated]           ...           a year ago
  • 1.9.2 [deprecated]           ...           a year ago
  • 1.9.1 [deprecated]           ...           a year ago
  • 2.0.0-alpha.19 [deprecated]           ...           a year ago
  • 2.0.0-alpha.18 [deprecated]           ...           a year ago
  • 1.9.0 [deprecated]           ...           a year ago
  • 2.0.0-alpha.17 [deprecated]           ...           a year ago
  • 2.0.0-alpha.16 [deprecated]           ...           a year ago
  • 2.0.0-alpha.15 [deprecated]           ...           a year ago
  • 1.8.1 [deprecated]           ...           a year ago
  • 1.8.0 [deprecated]           ...           a year ago
  • 2.0.0-alpha.14 [deprecated]           ...           a year ago
  • 1.7.3 [deprecated]           ...           a year ago
  • 1.7.2 [deprecated]           ...           a year ago
  • 1.7.1 [deprecated]           ...           a year ago
  • 1.7.0 [deprecated]           ...           a year ago
  • 1.6.0 [deprecated]           ...           a year ago
  • 2.0.0-alpha.13 [deprecated]           ...           a year ago
  • 1.5.5 [deprecated]           ...           a year ago
  • 1.6.0-alpha.1 [deprecated]           ...           a year ago
  • 1.6.0-alpha.0 [deprecated]           ...           a year ago
  • 1.5.4 [deprecated]           ...           a year ago
  • 1.5.3 [deprecated]           ...           a year ago
  • 1.5.2 [deprecated]           ...           a year ago
  • 1.5.1 [deprecated]           ...           a year ago
  • 2.0.0-alpha.12 [deprecated]           ...           a year ago
  • 2.0.0-alpha.11 [deprecated]           ...           a year ago
  • 2.0.0-alpha.10 [deprecated]           ...           a year ago
  • 1.5.0 [deprecated]           ...           a year ago
  • 2.0.0-alpha.9 [deprecated]           ...           a year ago
  • 2.0.0-alpha.8 [deprecated]           ...           a year ago
  • 0.0.0-5caca5c [deprecated]           ...           a year ago
  • 1.4.0-alpha.0 [deprecated]           ...           a year ago
  • 2.0.0-alpha.7 [deprecated]           ...           a year ago
  • 2.0.0-alpha.6 [deprecated]           ...           a year ago
  • 2.0.0-alpha.5 [deprecated]           ...           a year ago
  • 2.0.0-alpha.4 [deprecated]           ...           a year ago
  • 2.0.0-alpha.3 [deprecated]           ...           a year ago
  • 2.0.0-alpha.2 [deprecated]           ...           a year ago
  • 2.0.0-alpha.1 [deprecated]           ...           a year ago
  • 2.0.0-alpha.0 [deprecated]           ...           a year ago
  • 1.4.0 [deprecated]           ...           2 years ago
  • 1.3.0 [deprecated]           ...           2 years ago
  • 1.2.0 [deprecated]           ...           2 years ago
  • 1.1.1 [deprecated]           ...           2 years ago
  • 1.1.0 [deprecated]           ...           2 years ago
  • 1.0.10 [deprecated]           ...           2 years ago
  • 1.0.9 [deprecated]           ...           2 years ago
  • 1.0.8 [deprecated]           ...           2 years ago
  • 1.0.7 [deprecated]           ...           2 years ago
  • 1.0.6 [deprecated]           ...           2 years ago
  • 1.0.5 [deprecated]           ...           2 years ago
  • 1.0.4 [deprecated]           ...           2 years ago
  • 1.0.3 [deprecated]           ...           2 years ago
  • 1.0.2 [deprecated]           ...           2 years ago
  • 1.0.1 [deprecated]           ...           2 years ago
  • 1.0.0 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.34 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.33 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.32 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.31 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.30 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.29 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.28 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.27 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.26 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.25 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.24 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.23 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.22 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.21 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.20 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.19 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.18 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.17 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.16 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.15 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.14 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.13 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.12 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.11 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.10 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.9 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.8 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.7 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.6 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.5 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.4 [deprecated]           ...           2 years ago
  • 0.7.0 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.3 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.2 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.1 [deprecated]           ...           2 years ago
  • 1.0.0-alpha.0 [deprecated]           ...           2 years ago
  • 0.6.0 [deprecated]           ...           2 years ago
  • 0.5.1 [deprecated]           ...           2 years ago
  • 0.5.0 [deprecated]           ...           2 years ago
  • 0.4.0 [deprecated]           ...           2 years ago
  • 0.3.0 [deprecated]           ...           2 years ago
  • 0.2.3 [deprecated]           ...           2 years ago
  • 0.2.2 [deprecated]           ...           2 years ago
  • 0.2.1 [deprecated]           ...           2 years ago
  • 0.2.0 [deprecated]           ...           2 years ago
  • 0.1.2 [deprecated]           ...           2 years ago
  • 0.1.1 [deprecated]           ...           2 years ago
  • 0.1.0 [deprecated]           ...           2 years ago
Downloads
Today 358
This Week 1,115
This Month 753
Last Day 395
Last Week 2,002
Last Month 8,602
Dependencies (2)
Dependents (130)

Copyright 2014 - 2016 © taobao.org |