Skip to content

Commit

Permalink
Correct minor phrasing error for clarity
Browse files Browse the repository at this point in the history
Summary:
A simple correction of what looks like a copy-paste error in the writeup of NavigationExperimental.
Closes facebook#12081

Differential Revision: D4482725

Pulled By: mkonicek

fbshipit-source-id: 8c7c6ad19ed96e3287b4d0ef809685b5201b4fc0
  • Loading branch information
jonesmelton authored and nicktate committed Feb 9, 2017
1 parent 0e8f0d4 commit 0a04468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 0a04468

Please sign in to comment.