Skip to content

Commit 679f1f4

Browse files
committed
docs: improve the description of beforeCreate (#2707)
1 parent a5126e3 commit 679f1f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

โ€Žsrc/api/options-lifecycle.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818

1919
- **์„ธ๋ถ€ ์‚ฌํ•ญ**:
2020

21-
์ธ์Šคํ„ด์Šค๊ฐ€ ์ดˆ๊ธฐํ™”๋œ ๋‹ค์Œ props๊ฐ€ ์ฒ˜๋ฆฌ๋œ ํ›„, `data()` ๋˜๋Š” `computed`์™€ ๊ฐ™์€ ๋‹ค๋ฅธ ์˜ต์…˜์„ ์ฒ˜๋ฆฌํ•˜๊ธฐ ์ „์— ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.
21+
์ธ์Šคํ„ด์Šค๊ฐ€ ์ดˆ๊ธฐํ™” ๋˜๊ณ  props๊ฐ€ ํ•ด๊ฒฐ๋  ๋•Œ ์ฆ‰์‹œ ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.
2222

23-
์ปดํฌ์ง€์…˜ API์˜ `setup()` ํ›…์€ ์˜ต์…˜ API์˜ ์–ด๋–ค ํ›…๋ณด๋‹ค ๋จผ์ € (`beforeCreate()` ํ›…๋ณด๋‹ค ๋นจ๋ฆฌ) ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.
23+
๊ทธ๋Ÿฐ ๋‹ค์Œ props๋Š” ๋ฐ˜์‘ํ˜• ์†์„ฑ์œผ๋กœ ์ •์˜๋˜๊ณ  `data()` ๋˜๋Š” `computed`์™€ ๊ฐ™์€ ์ƒํƒœ๊ฐ€ ์„ค์ •๋ฉ๋‹ˆ๋‹ค.
24+
25+
Composition API์˜ `setup()` ํ›…์€ `beforeCreate()`์กฐ์ฐจ๋„ ๋ชจ๋“  Options API ํ›…(hook)๋ณด๋‹ค ๋จผ์ € ํ˜ธ์ถœ๋œ๋‹ค๋Š” ์ ์— ์ฃผ์˜ํ•˜์„ธ์š”.
2426

2527
## created {#created}
2628

@@ -219,8 +221,6 @@
219221

220222
**์ด ํ›…์€ ๊ฐœ๋ฐœ ๋ชจ๋“œ ์ „์šฉ์ด๋ฉฐ ์„œ๋ฒ„ ์ธก ๋ Œ๋”๋ง ์ค‘์—๋Š” ํ˜ธ์ถœ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.**
221223

222-
**This hook is development-mode-only and not called during server-side rendering.**
223-
224224
- **ํƒ€์ž…**:
225225

226226
```ts

0 commit comments

Comments
ย (0)