router-last-successful-navigation

angular21.0.0

Ensures that the Router.lastSuccessfulNavigation signal is now invoked

The `lastSuccessfulNavigation`Router property is now a Signal and has to be invoked to get its value.

BeforeAfter
constructor() { constructor() {
if(this.router.lastSuccessfulNavigation) { if(this.router.lastSuccessfulNavigation()) {
// ... // ...
} }
} }
Example commit