Skip to content

Commit a63715c

Browse files
authored
docs: improve the description of beforeCreate (#2707)
1 parent b48716c commit a63715c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/api/options-lifecycle.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ Called when the instance is initialized.
1818

1919
- **Details**
2020

21-
Called immediately when the instance is initialized, after props resolution, before processing other options such as `data()` or `computed`.
21+
Called immediately when the instance is initialized and props are resolved .
22+
23+
Then the props will be defined as reactive properties and the state such as `data()` or `computed` will be set up.
2224

2325
Note that the `setup()` hook of Composition API is called before any Options API hooks, even `beforeCreate()`.
2426

0 commit comments

Comments
 (0)