You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `Replace` action replaces the route at the given key with another route.
92
+
93
+
*`key` - _string - required - Key of the route to replace.
94
+
*`newKey` - _string - Key to use for the replacement route. Generated automatically if not provided.
95
+
*`routeName` - _string - `routeName` to use for replacement route.
96
+
*`params` - _object_ - Parameters to pass in to the replacement route.
97
+
*`action` - _object_ - Optional sub-action.
98
+
*`immediate`* - _boolean_ - *Currently has no effect*, this is a placeholder for when `StackNavigator` supports animated replace (it currently does not).
99
+
88
100
### Back
89
101
90
102
Go back to previous screen and close current screen. `back` action creator takes in one optional parameter:
0 commit comments