In Angular2 RC1, and the bottom call of the route line always causes the component to reload:
<a [routerLink]="['/page', {id: 1}]">A link </a>
Using Angular2, not a single RC, the component does not reboot if it goes to itself with different parameters. Is there any way to return reboot behavior?
I understand another way to deal with this by subscribing to ActivatedRoute and detecting changes to variables, but this leads to component logic increasing in complexity.
angular angular2-routing
Luke dupin
source share