Skip to content

Commit 5461e45

Browse files
committed
add 'hooks' to instance lifecycle section heading
1 parent 0f22166 commit 5461e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ vm.$watch('a', function (newVal, oldVal) {
7575

7676
Consult the [API reference](/api) for the full list of instance properties and methods.
7777

78-
## Instance Lifecycle
78+
## Instance Lifecycle Hooks
7979

8080
Each Vue instance goes through a series of initialization steps when it is created - for example, it needs to set up data observation, compile the template, mount the instance to the DOM, and update the DOM when data changes. Along the way, it will also invoke some **lifecycle hooks**, which give us the opportunity to execute custom logic. For example, the `created` hook is called after the instance is created:
8181

0 commit comments

Comments
 (0)