From 50bc8697caeea486526b4352ed770ce5af3bfe80 Mon Sep 17 00:00:00 2001 From: Matthew Francis Brunetti Date: Tue, 13 Sep 2022 22:08:53 -0400 Subject: [PATCH] Change vnode-lifecycle-events prefix back to `vnode-` --- src/breaking-changes/vnode-lifecycle-events.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/breaking-changes/vnode-lifecycle-events.md b/src/breaking-changes/vnode-lifecycle-events.md index 9a4af6a..94951bc 100644 --- a/src/breaking-changes/vnode-lifecycle-events.md +++ b/src/breaking-changes/vnode-lifecycle-events.md @@ -9,7 +9,7 @@ badges: In Vue 2, it was possible to use events to listen for key stages in a component's lifecycle. These events had names that started with the prefix `hook:`, followed by the name of the corresponding lifecycle hook. -In Vue 3, this prefix has been changed to `vue:`. In addition, these events are now available for HTML elements as well as components. +In Vue 3, this prefix has been changed to `vnode-`. In addition, these events are now available for HTML elements as well as components. ## 2.x Syntax @@ -23,11 +23,11 @@ In Vue 2, the event name is the same as the equivalent lifecycle hook, prefixed ## 3.x Syntax -In Vue 3, the event name is prefixed with `vue:`: +In Vue 3, the event name is prefixed with `vnode-`: ```html ```