Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
feat(router): add router-level events for GuardsCheck and Resolve #17601
This PR adds router-level event hooks so user-land knows when Guards and Resolves start and end for each route navigation. This makes the full lifecycle of events at the router level bigger:
With optional events:
This will be especially useful for metrics. Things such as timing how long guards and resolves take on average.
These APIs are experimental and are documented as such.
You can preview 683f880 at https://pr17601-683f880733335fd3b8732e3106835953fa4b81d5.ngbuilds.io/.