Correct minor phrasing error for clarity

Summary:
A simple correction of what looks like a copy-paste error in the writeup of NavigationExperimental.
Closes https://github.com/facebook/react-native/pull/12081

Differential Revision: D4482725

Pulled By: mkonicek

fbshipit-source-id: 8c7c6ad19ed96e3287b4d0ef809685b5201b4fc0
This commit is contained in:
Jones Melton 2017-01-30 11:07:29 -08:00 committed by Facebook Github Bot
parent f9c6d47b94
commit ad97adb3c7

View File

@ -157,7 +157,7 @@ Push and pop, of course. That seems pretty straightforward to implement. I promi
### Step 2. Reducing the Navigation State
NavigationExperimental comes built-in with a some useful reducers, and they are all available as part of NavigationStateUtils. The two we will be using right now are called -- yep -- push and pop. They take a navigationState object, and return a new navigationState object.
NavigationExperimental comes built-in with some useful reducers, and they are all available as part of NavigationStateUtils. The two we will be using right now are called -- yep -- push and pop. They take a navigationState object, and return a new navigationState object.
We can use them to write our `_onNavigationChange` function which, given a "push" or "pop" action, will reduce the state accordingly.