mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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:
parent
80da664b71
commit
c5ba762bfa
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue