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
This commit is contained in:
urugator 2022-10-17 12:57:36 +02:00 committed by Dylan Hunn
parent 80da664b71
commit c5ba762bfa

View file

@ -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.