From c5ba762bfa2a8ca261f0efdde29cb47c87807967 Mon Sep 17 00:00:00 2001 From: urugator <11457665+urugator@users.noreply.github.com> Date: Mon, 17 Oct 2022 12:57:36 +0200 Subject: [PATCH] docs(router): fix misleading description of `BaseRouteReuseStrategy` (#47786) The original description gave a false impression that only query params and fragment changes are ignored, while actually `routeParams` changes are ignored as well. PR Close #47786 --- packages/router/src/route_reuse_strategy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/router/src/route_reuse_strategy.ts b/packages/router/src/route_reuse_strategy.ts index 8af9f8d9d74..f41b5bc57e8 100644 --- a/packages/router/src/route_reuse_strategy.ts +++ b/packages/router/src/route_reuse_strategy.ts @@ -64,7 +64,7 @@ export abstract class RouteReuseStrategy { * * 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 fragment or query parameters change + * when just the route parameters, query parameters or fragment change * (that is, the existing component is _reused_). * * This strategy does not store any routes for later reuse.