Skip to content

Commit 830012c

Browse files
authored
docs: translate reusing-logic-with-custom-hooks.md (#1355)
<!-- PR을 보내주셔서 감사합니다! 여러분과 같은 기여자들이 React를 더욱 멋지게 만듭니다! 기존 이슈와 관련된 PR이라면, 아래에 이슈 번호를 추가해주세요. --> # 번역 reusing-logic-with-custom-hooks.md 해당 경로에 있는 문서를 영어에서 한글로 번역했습니다. - before <img width="1216" height="988" alt="image" src="https://github.com/user-attachments/assets/8b17fc18-8319-4f12-8b84-43f41ec97749" /> - after <img width="1237" height="1006" alt="image" src="https://github.com/user-attachments/assets/5d084462-ca62-4388-96e4-14f5f3924522" /> <!-- 어떤 종류의 PR인지 상세 내용을 작성해주세요. --> ## 필수 확인 사항 - [x] [기여자 행동 강령 규약<sup>Code of Conduct</sup>](https://github.com/reactjs/ko.react.dev/blob/main/CODE_OF_CONDUCT.md) - [x] [기여 가이드라인<sup>Contributing</sup>](https://github.com/reactjs/ko.react.dev/blob/main/CONTRIBUTING.md) - [x] [공통 스타일 가이드<sup>Universal Style Guide</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/universal-style-guide.md) - [x] [번역을 위한 모범 사례<sup>Best Practices for Translation</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/best-practices-for-translation.md) - [x] [번역 용어 정리<sup>Translate Glossary</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/translate-glossary.md) - [x] [`textlint` 가이드<sup>Textlint Guide</sup>](https://github.com/reactjs/ko.react.dev/blob/main/wiki/textlint-guide.md) - [x] [맞춤법 검사<sup>Spelling Check</sup>](https://nara-speller.co.kr/speller/) ## 선택 확인 사항 - [ ] 번역 초안 작성<sup>Draft Translation</sup> - [ ] 리뷰 반영<sup>Resolve Reviews</sup>
1 parent ddfea7a commit 830012c

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)