Skip to content

Commit c864d95

Browse files
authored
Update custom-directives.md (#1215)
1 parent bbc199c commit c864d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/migration/custom-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ In Vue 3, however, we’ve created a more cohesive API for custom directives. As
4545
- bind → **beforeMount**
4646
- inserted → **mounted**
4747
- **beforeUpdate**: new! This is called before the element itself is updated, much like the component lifecycle hooks.
48-
- update → removed! There were too many similarities to updated, so this is redundant. Please use updated instead.
48+
- update → removed! There were too many similarities to `updated`, so this is redundant. Please use `updated` instead.
4949
- componentUpdated → **updated**
5050
- **beforeUnmount**: new! Similar to component lifecycle hooks, this will be called right before an element is unmounted.
5151
- unbind -> **unmounted**

0 commit comments

Comments
 (0)