question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

options.mounted hook opportunity

See original GitHub issue

Note that mounted does not guarantee that all child components have also been mounted. If you want to wait until the entire view has been rendered, you can use vm.$nextTick inside of mounted

I found parent.mounted hook only called after all children.mounted called, unless the child component is async. But in that case, vm.$nextTick won’t help too.

Is there any mistake of me or the doc?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sarahdayancommented, Mar 4, 2020

🧐 @sdras @NataliaTepluhina any idea?

0reactions
LongTengDaocommented, Mar 3, 2020

But the “parent mounted” event is also after “child mounted” event, I can’t see the difference between using “mounted” and “nextTick” (which the doc want to express)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lifecycle hooks - Angular
The hooks give you the opportunity to act on a component or directive instance at the appropriate moment, as Angular creates, updates, or...
Read more >
Lifecycle Hooks | Vue.js
Along the way, it also runs functions called lifecycle hooks, giving users the opportunity to add their own code at specific stages.
Read more >
Vue Component Lifecycle - Mastering JS
Vue lifecycle hooks give you the opportunity to run code whenever Vue performs a ... The mounted hook is the most commonly used...
Read more >
Understanding Vuejs Lifecycle hooks | by Samuel Tope
One thing to take note of is that the mounted hook doesn't guarantee that the element has been added to DOM. To execute...
Read more >
runtime-spec/config.md at main - GitHub
options (array of strings, OPTIONAL) Mount options of the filesystem to be used. ... For POSIX platforms, the configuration structure supports hooks for ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found