-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Fire an event after the matched component mounts #1529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
👍 |
Thanks for the proposal. |
Ah, I didn't think to combine |
Just wondering which one of native hooks gets called, after |
What problem does this feature solve?
Split testing tools like VWO need to be notified when the route has both changed, and the dom is ready to be manipulated. Currently we can get around this by manually triggering it from our component's mounted hooks, but it's a pain having to remember to do so for each route.
The event I'm proposing would fire after the route has been matched, and all of the components have mounted.
What does the proposed API look like?
Similar to
beforeRouteEnter
The text was updated successfully, but these errors were encountered: