import { RouteReuseStrategy , ActivatedRouteSnapshot , DetachedRouteHandle } from "@angular/router" ; export class CustomReuseStrategy implements RouteReuseStrategy { shouldDetach ( route ) { return false ; } store ( route , handle ) { } shouldAttach ( route ) { return false ; } retrieve ( route ) { return null ; } shouldReuseRoute ( future , curr ) { return false ; } }