Skip to content

Commit

Permalink
docs(router): clarify execution order for resolvers (#44995)
Browse files Browse the repository at this point in the history
Fixes #44971

PR Close #44995
  • Loading branch information
markostanimirovic authored and dylhunn committed Feb 7, 2022
1 parent 2cda6cf commit 33df840
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/router/src/models.ts
Expand Up @@ -769,8 +769,8 @@ export type CanDeactivateFn<T> =
*
* Interface that classes can implement to be a data provider.
* A data provider class can be used with the router to resolve data during navigation.
* The interface defines a `resolve()` method that is invoked when the navigation starts.
* The router waits for the data to be resolved before the route is finally activated.
* The interface defines a `resolve()` method that is invoked right after the `ResolveStart`
* router event. The router waits for the data to be resolved before the route is finally activated.
*
* The following example implements a `resolve()` method that retrieves the data
* needed to activate the requested route.
Expand Down

0 comments on commit 33df840

Please sign in to comment.