mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 16:10:58 +00:00
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:
parent
f9c6d47b94
commit
ad97adb3c7
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user