Skip to content

Commit 78f0997

Browse files
committed
fixed typos
1 parent 5b3fd07 commit 78f0997

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

β€Žcontent/docs/concurrent-mode-suspense.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -117,21 +117,13 @@ SuspenseλŠ” μœ„μ˜ λ¬Έμ œμ— λŒ€ν•œ 기쑴의 μ ‘κ·Ό λ°©μ‹κ³ΌλŠ” μƒλ‹Ήνžˆ λ‹€
117117

118118
### Suspense둜 κ°€λŠ₯ν•œ 것 {#what-suspense-lets-you-do}
119119

120-
<<<<<<< HEAD
121-
So what's the point of Suspense? There are a few ways we can answer this:
122-
=======
123120
κ·Έλ ‡λ‹€λ©΄ SuspenseλŠ” μ™œ μ‚¬μš©ν•˜λŠ” κ²ƒμΌκΉŒμš”? 이에 λŒ€ν•œ λͺ‡ κ°€μ§€ 닡이 μžˆμŠ΅λ‹ˆλ‹€.
124-
>>>>>>> initial draft of translation
125121

126122
* **데이터 뢈러였기 λΌμ΄λΈŒλŸ¬λ¦¬λ“€μ΄ React와 깊게 κ²°ν•©ν•  수 μžˆλ„λ‘ ν•΄μ€λ‹ˆλ‹€.** 데이터 뢈러였기 λΌμ΄λΈŒλŸ¬λ¦¬κ°€ Suspense 지원을 κ΅¬ν˜„ν•œλ‹€λ©΄, React μ»΄ν¬λ„ŒνŠΈμ—μ„œ 이λ₯Ό μ‚¬μš©ν•˜λŠ” 것이 μ•„μ£Ό μžμ—°μŠ€λŸ½κ²Œ 느껴질 κ²ƒμž…λ‹ˆλ‹€.
127123

128124
* **μ˜λ„μ μœΌλ‘œ μ„€κ³„λœ λ‘œλ”© μƒνƒœλ₯Ό μ‘°μ •ν•  수 μžˆλ„λ‘ ν•΄μ€λ‹ˆλ‹€.** SuspenseλŠ” 데이터가 _μ–΄λ–»κ²Œ_ λΆˆλŸ¬μ Έμ•Ό ν•˜λŠ”μ§€λ₯Ό μ •ν•˜μ§€ μ•Šκ³ , 당신이 μ•±μ˜ μ‹œκ°μ μΈ λ‘œλ”© 단계λ₯Ό λ°€μ ‘ν•˜κ²Œ ν†΅μ œν•  수 μžˆλ„λ‘ ν•΄μ€λ‹ˆλ‹€.
129125

130-
<<<<<<< HEAD
131-
* **It helps you avoid race conditions.** Even with `await`, asynchronous code is often error-prone. Suspense feels more like reading data *synchronously* β€” as if it were already loaded.
132-
=======
133126
* **경쟁 μƒνƒœ(Race Condition)λ₯Ό ν”Όν•  수 μžˆλ„λ‘ λ•μŠ΅λ‹ˆλ‹€.** `await`λ₯Ό μ‚¬μš©ν•˜λ”λΌλ„ 비동기 μ½”λ“œλŠ” μ’…μ’… 였λ₯˜κ°€ λ°œμƒν•˜κΈ° μ‰½μŠ΅λ‹ˆλ‹€. Suspenseλ₯Ό μ‚¬μš©ν•˜λ©΄ 데이터λ₯Ό *λ™κΈ°μ μœΌλ‘œ* μ½μ–΄μ˜€λŠ” κ²ƒμ²˜λŸΌ λŠκ»΄μ§€κ²Œ ν•΄μ€λ‹ˆλ‹€. 마치 이미 λΆˆλŸ¬μ˜€κΈ°κ°€ μ™„λ£Œλœ κ²ƒμ²˜λŸΌ λ§μž…λ‹ˆλ‹€.
134-
>>>>>>> initial draft of translation
135127

136128
## μ‹€μ „μ—μ„œ Suspense μ‚¬μš©ν•˜κΈ° {#using-suspense-in-practice}
137129

@@ -243,11 +235,7 @@ function ProfileTimeline() {
243235

244236
λ§Œμ•½ μ‚¬μš©μž 정보 λΆˆλŸ¬μ˜€κΈ°κ°€ 3초 μ†Œμš”λœλ‹€λ©΄, 3μ΄ˆκ°€ μ§€λ‚œ 뒀에야 λΉ„λ‘œμ†Œ κ²Œμ‹œκΈ€ 뢈러였기λ₯Ό *μ‹œμž‘*ν•  수 μžˆλŠ” κ²ƒμž…λ‹ˆλ‹€! 이것이 λ°”λ‘œ "μ›Œν„°ν΄"둜, 병렬화될 수 μžˆμ—ˆμœΌλ‚˜ μ˜λ„ν•˜μ§€ μ•Šκ²Œ *순차적으둜* μ‹€ν–‰λ˜λŠ” ν˜„μƒμž…λ‹ˆλ‹€.
245237

246-
<<<<<<< HEAD
247-
Waterfalls are common in code that fetches data on render. They're possible to solve, but as the product grows, many people prefer to use a solution that guards against this problem.
248-
=======
249238
μ›Œν„°ν΄μ€ λ Œλ”λ§ 직후 데이터λ₯Ό λΆˆλŸ¬μ˜€λŠ” μ½”λ“œμ—μ„œ ν”νžˆ λ°œμƒν•©λ‹ˆλ‹€. 이λ₯Ό κ³ μΉ˜λŠ” 것은 κ°€λŠ₯ν•˜μ§€λ§Œ, 앱이 κ±°λŒ€ν•΄μ§μ— 따라 λ§Žμ€ μ‚¬λžŒλ“€μ€ 이 문제λ₯Ό λ°©μ§€ν•  수 μžˆλŠ” 해결책을 원할 κ²ƒμž…λ‹ˆλ‹€.
250-
>>>>>>> initial draft of translation
251239

252240
### μ ‘κ·Ό 방식 2: 뢈러였기 이후 λ Œλ”λ§ (Suspense λ―Έμ‚¬μš©) {#approach-2-fetch-then-render-not-using-suspense}
253241

@@ -266,11 +254,7 @@ function fetchProfileData() {
266254
}
267255
```
268256

269-
<<<<<<< HEAD
270-
In this example, `<ProfilePage>` waits for both requests but starts them in parallel:
271-
=======
272257
μ•„λž˜μ˜ μ˜ˆμ‹œμ—μ„œλŠ” `<ProfilePage>`κ°€ 두 μš”μ²­μ„ κΈ°λ‹€λ¦¬λŠ”λ°, 두 μš”μ²­μ€ λ™μ‹œμ— μ‹œμž‘λ©λ‹ˆλ‹€.
273-
>>>>>>> initial draft of translation
274258

275259
```js{1,2,8-13}
276260
// μ΅œλŒ€ν•œ 일찍 뢈러였기λ₯Ό λ°œλ™μ‹œν‚΅λ‹ˆλ‹€

0 commit comments

Comments
Β (0)