-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
fixed on 4.xThis issue has been already fixed on the v4 but exists in v3This issue has been already fixed on the v4 but exists in v3has PRimprovement
Description
What problem does this feature solve?
As opposed to beforeResolve
, afterResolve
would wait until the navigation is done and trigger the registered callbacks.
The main reason for that is to be able to track events in the right moment, with the proper url in place, globally.
What does the proposed API look like?
routerInstance.afterResolve(cb);
function cb(from, to, next) {...}
I'd love to submit a PR if that's something you'd like to have.
christophernewton, sjdaws, natepage, mmehmet, josemujicap and 5 more
Metadata
Metadata
Assignees
Labels
fixed on 4.xThis issue has been already fixed on the v4 but exists in v3This issue has been already fixed on the v4 but exists in v3has PRimprovement