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

preview_player
Показать описание
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.

Рекомендации по теме