vuejs / docs

📄 Documentation for Vue 3
https://vuejs.org
Other
2.81k stars 4.1k forks source link

Add documentation for "VNode Lifecycle Events" #2851

Closed atilkan closed 3 days ago

atilkan commented 2 weeks ago

Hi, "VNode Lifecycle Events" are documented in migration docs but there is no information about them in main docs.

Can you add some information about them?

atilkan commented 1 week ago

Similar issues; https://github.com/vuejs/core/discussions/9298 https://github.com/vuejs/language-tools/issues/4154

It looks like this has been requested and voiced by other people. Just tagging to get this issue moving: @yyx990803

NataliaTepluhina commented 3 days ago

As mentioned in the PR, we didn't document this feature in both Vue 2 and Vue 3 because it's not a recommended practice to listen to @vue: events on child components.