We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76dc88d commit 9ceffe6Copy full SHA for 9ceffe6
docs/stack-actions.md
@@ -55,7 +55,7 @@ this.props.navigation.dispatch(resetAction);
55
56
The `replace` action replaces the route at the given key with another route.
57
58
-* `key` - _string_ - required - Key of the route to replace.
+* `key` - _string_ - Key of the route to replace. If this is not defined, the most recent route will be replaced.
59
* `newKey` - _string_ - Key to use for the replacement route. Generated automatically if not provided.
60
* `routeName` - _string_ - `routeName` to use for replacement route.
61
* `params` - _object_ - Parameters to pass in to the replacement route.
0 commit comments