mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This further builds out the Router integration with the platform Navigation API. Key features in this state include: * History restoration via direct platform APIs rather than markers left on `history.state`. This means more guaranteed correctness and less internal code to compute traversal restorations. * Ability to observe navigations triggered outside the Router APIs. Practically speaking, this means some navigations can be performed through the platform rather than requiring `Router.navigate`. Note that because the `NavigateEvent` is never intercepted at this point of the implementation, regular anchor tags cannot be used because they will still trigger a popstate navigation. This implementation does _not_ intercept the `NavigateEvent` but future iterations should. By omitting the interception, we are missing out on features such as: * Platform-supported scroll and focus reset * Holding the navigate event open for the duration of the router navigation, allowing for a visual loading indicator in the browser * Support for intercepting navigations from regular anchor tags (e.g. not `RouterLink`s) and converting those to SPA navigations. PR Close #64905 |
||
|---|---|---|
| .. | ||
| duplicate_in_flight_navigations.spec.ts | ||
| eager_url_update_strategy.spec.ts | ||
| guards.spec.ts | ||
| integration.spec.ts | ||
| integration_helpers.ts | ||
| lazy_loading.spec.ts | ||
| navigation.spec.ts | ||
| navigation_errors.spec.ts | ||
| redirects.spec.ts | ||
| route_data.spec.ts | ||
| route_reuse_strategy.spec.ts | ||
| router_events.spec.ts | ||
| router_link_active.spec.ts | ||
| router_links.spec.ts | ||