Using "replaceUrl" In Order To Honor The Back-Button While Chaining Absolute Redirects In Angular 7.2.13

added by JavaScript Kicks
4/16/2019 12:20:24 PM

249 Views

Ben Nadel follows-up on his previous post regarding chained absolute and local redirects with the Router in Angular 7.2.13. Whereas his first approach broke the browser's natural Back Button behavior, using the "replaceUrl" option allows the Back Button to continue to work exactly as the User would expect it to, even across chained absolute redirects.


0 comments