Skip to content

Commit 89b5eab

Browse files
committed
update lifecycle 'inserted' to 'attached'
1 parent 1c8901b commit 89b5eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/guide/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ This rule also applies to [content insertion](#Content_Insertion), as explained
237237

238238
## Component Lifecycle
239239

240-
Every component, or Vue instance, has its own lifecycle: it will be created, compiled, inserted or detached, and finally destroyed. At each of these key moments the instance will emit corresponding events, and when creating an instance or defining a component, we can pass in lifecycle hook functions to react to these events. For example:
240+
Every component, or Vue instance, has its own lifecycle: it will be created, compiled, attached or detached, and finally destroyed. At each of these key moments the instance will emit corresponding events, and when creating an instance or defining a component, we can pass in lifecycle hook functions to react to these events. For example:
241241

242242
``` js
243243
var MyComponent = Vue.extend({

0 commit comments

Comments
 (0)