Skip to content

Commit 52beca6

Browse files
committed
Translate src/content/learn/reusing-logic-with-custom-hooks.md
1 parent ddfea7a commit 52beca6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/learn/reusing-logic-with-custom-hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@ function SaveButton() {
14121412
14131413
#### React가 데이터 패칭을 위한 내부 해결책을 제공할까요? {/*will-react-provide-any-built-in-solution-for-data-fetching*/}
14141414
1415-
Today, with the [`use`](/reference/react/use#streaming-data-from-server-to-client) API, data can be read in render by passing a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) to `use`:
1415+
현재는 [`use`](/reference/react/use#streaming-data-from-server-to-client) API를 사용해, 렌더링 단계에서 [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)`use`에 넘겨 데이터를 읽을 수 있습니다.
14161416
14171417
```js {1,4,11}
14181418
import { use, Suspense } from "react";
@@ -1431,7 +1431,7 @@ export function MessageContainer({ messagePromise }) {
14311431
}
14321432
```
14331433
1434-
We're still working out the details, but we expect that in the future, you'll write data fetching like this:
1434+
아직 세부 사항을 조정 중이지만, 나중에는 데이터 패칭을 다음과 같이 작성할 것입니다.
14351435
14361436
```js {1,4,6}
14371437
import { use } from 'react';

0 commit comments

Comments
 (0)