You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/guide/composition-api-lifecycle-hooks.md
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,16 @@
1
-
# Lifecycle Hooks
1
+
# ライフサイクルフック
2
2
3
-
> This guide assumes that you have already read the [Composition API Introduction](composition-api-introduction.html)and [Reactivity Fundamentals](reactivity-fundamentals.html). Read that first if you are new to Composition API.
3
+
> このページは、すでに [コンポジション API の基本](composition-api-introduction.html)と [リアクティブの基礎](reactivity-fundamentals.html) を読んでいることを前提としています。 コンポジション API を初めて使用する場合は、最初にそちらをお読みください。
4
4
5
-
You can access a component's lifecycle hook by prefixing the lifecycle hook with "on".
@@ -21,10 +22,10 @@ The following table contains how the lifecycle hooks are invoked inside of [setu
21
22
|`renderTriggered`|`onRenderTriggered`|
22
23
23
24
:::tip
24
-
Because `setup`is run around the `beforeCreate`and`created`lifecycle hooks, you do not need to explicitly define them. In other words, any code that would be written inside those hooks should be written directly in the `setup`function.
0 commit comments