Feature Request: Add 'replace' to stack navigator actions
See original GitHub issuePer the react-navigation docs, there is a ‘replace’ function available for stack navigators, but this doesn’t seem to be supported in the react-native-screens stack-navigator
.
https://reactnavigation.org/docs/navigation-prop/#navigator-dependent-functions
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
StackActions reference - React Navigation
The replace action allows to replace a route in the navigation state. It takes the following arguments: name - string - A destination...
Read more >StackActions reference - React Navigation
The following actions are supported: Reset - Replace current state with a new state; Replace - Replace a route at a given key...
Read more >NavigationActions reference - React Navigation
Reset - Replace current state with a new state; Replace - Replace a route at a given key with another route; Push -...
Read more >Navigation prop reference
In a native stack navigator, calling navigate with a screen name will result in different behavior based on if the screen is already...
Read more >Stack Navigator | React Navigation
Stack Navigator provides a way for your app to transition between screens where each new screen is placed on top of a stack....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh I can see what is the problem now. Can you check if #695 fixes this?
@sbalay 2.15.0 is out 🎉