Closed as not planned
Description
Use case
With navigator 1.0, we can use 2 methods:
.pushReplacement()
pushAndRemoveUntil()
Those where very useful, especially when the user is going through a wizard. The wizard could walk the user through different screens and those screens could be removed at the end of the wizard so the user cannot go back to them.
I didn't see any equivalent in GoRouter. Or maybe I missed them?
Proposal
It would be useful to implement .pushReplacement()
and pushAndRemoveUntil()
equivalent.