Repository navigation
Commit d98ee02
docs(router): note that shouldReuseRoute doesn't rerun guards and resolvers
Returning `false` from `RouteReuseStrategy.shouldReuseRoute` recreates the
component, but guards and resolvers only rerun for an unchanged route
configuration as configured by `runGuardsAndResolvers`. Add a short note
to the `shouldReuseRoute` docs pointing to `RunGuardsAndResolvers`.
Closes #70965
(cherry picked from commit 95383cd)1 parent d0b0e4e commit d98ee02
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
87 | 95 | | |
88 | 96 | | |
89 | 97 | | |
| |||
0 commit comments