You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Angular Router exposes four main areas for customization:
145
131
146
132
<docs-pill-row>
@@ -238,7 +224,7 @@ When implementing a custom `RouteReuseStrategy`, you may need to manually destro
238
224
Since `DetachedRouteHandle` is an opaque type, you cannot call a destroy method directly on it. Instead, use the `destroyDetachedRouteHandle` function provided by the Router.
@@ -259,10 +245,12 @@ By default, Angular does not destroy the injectors of detached routes, even if t
259
245
To enable automatic cleanup of unused route injectors, you can use the `withExperimentalAutoCleanupInjectors` feature in your router configuration. This feature checks which routes are currently stored by the strategy after navigations and destroys the injectors of any detached routes that are not currently stored by the reuse strategy.
0 commit comments