File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,13 @@ Make custom directive hook names more consistent with the component lifecycle.
46
46
47
47
Existing hooks are renamed to map better to the component lifecycle, with some timing adjustments. Arguments passed to the hooks remain unchanged.
48
48
49
- - ` bind ` -> ` beforeMount `
50
- - ` inserted ` -> ` mounted `
51
- - ` beforeUpdate ` * new, called before the element itself is updated*
49
+ - ** new** ` created ` (called before vnode props are applied to DOM node)
50
+ - ` bind ` -> ` beforeMount ` (called after vnode props have been applied to DOM node)
51
+ - ` inserted ` -> ` mounted ` (called after children have been inserted into the DOM node, and the DOM node itself has been inserted into parent element)
52
+ - ** new** ` beforeUpdate ` (called before the element itself is updated)
52
53
- ~~ ` update ` ~~ * removed, use ` updated ` instead*
53
- - ` componentUpdated ` -> ` updated `
54
- - ` beforeUnmount ` * new*
54
+ - ` componentUpdated ` -> ` updated ` (called after the element itself and its children have been updated)
55
+ - ** new** ` beforeUnmount `
55
56
- ` unbind ` -> ` unmounted `
56
57
57
58
## Usage on Components
You can’t perform that action at this time.
0 commit comments