Go to file
Eric Vicenti b3c2ebb9a9 Stack nav completion on mount
StackView is responsible for calling the navigation completion action when `state.isTransitioning` is set. This fix handles that case when the stack is first mounting.

This had caused the following issue when observing the events.. because isTransitioning was never switched to false, didFocus never gets called: https://github.com/react-navigation/react-navigation/issues/4867
2018-09-23 12:08:18 -07:00
.circleci Initial commit 2018-08-03 14:59:12 -07:00
example Release 0.5.1 2018-09-14 15:27:58 +02:00
src Stack nav completion on mount 2018-09-23 12:08:18 -07:00
.babelrc Initial commit 2018-08-03 14:59:12 -07:00
.editorconfig Initial commit 2018-08-03 14:59:12 -07:00
.eslintignore Initial commit 2018-08-03 14:59:12 -07:00
.eslintrc Fix lint errors and tests 2018-08-22 16:23:40 -07:00
.gitignore Initial commit 2018-08-03 14:59:12 -07:00
LICENSE.md Initial commit 2018-08-03 14:59:12 -07:00
README.md Initial commit 2018-08-03 14:59:12 -07:00
jest-setup.js Initial commit 2018-08-03 14:59:12 -07:00
package.json Release 0.5.1 2018-09-14 15:27:58 +02:00
yarn.lock Update react-native-screens to alpha.10 2018-09-14 12:51:59 +02:00

README.md

React Navigation Stack

CircleCI badge

Stack navigator for use on iOS and Android.

Installation

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

yarn add react-navigation-stack

Usage

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

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

Docs

Documentation can be found on the React Navigation website.