[Router] router-outlet does not update for routes to same component

For some reason when there are multiple routes for same component, the router-outlet is only updated after a page refresh. Here is how they are defined:

@RouteConfig([
  {path:'/route1', name: 'Route1', component: RouteComponent},
  {path:'/route2', name: 'Route2', component: RouteComponent},
  {path:'/route3', name: 'Route3', component: RouteComponent}
])

I see the xhr request when page is first loaded but after clicking the links, the view is not updated, there is no xhr request or console error either. But if i use different component for each route, it works fine.

1 possible answer(s) on “[Router] router-outlet does not update for routes to same component