@angular/router

BaseRouteReuseStrategy

Class

This base route reuse strategy only reuses routes when the matched router configs are identical. This prevents components from being destroyed and recreated when just the route parameters, query parameters or fragment change (that is, the existing component is reused).

  
    abstract class BaseRouteReuseStrategy implements RouteReuseStrategy {}
  
  
Jump to details