Skip to content

Commit 91664e9

Browse files
committed
docs: update cloneElement.md
1 parent 74d59fd commit 91664e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/reference/react/cloneElement.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: cloneElement
44

55
<Pitfall>
66

7-
`cloneElement`사용하는 것은 흔하지 않으며, 불안정한 코드를 만들 수 있습니다. [일반적인 대안을 확인하세요.](#alternatives)
7+
`cloneElement`사용하는 것은 일반적이지 않고 불안정한 코드를 만들 수 있습니다. [일반적으로 사용하는 대안을 살펴보세요.](#alternatives)
88

99
</Pitfall>
1010

@@ -554,9 +554,9 @@ button {
554554
555555
---
556556
557-
### Custom Hook으로 로직 추출하기 {/*extracting-logic-into-a-custom-hook*/}
557+
### 커스텀 Hook으로 로직 추출하기 {/*extracting-logic-into-a-custom-hook*/}
558558
559-
다른 접근 방식으로는 자체 hook을 통해 "비시각적인" 로직을 추출하는 것을 시도해 볼 수 있습니다. 그리고 hook에 의해서 반환된 정보를 사용하여 렌더링할 내용을 정합니다. 예를 들어 다음과 같이 `useList` 같은 custom hook을 작성할 수 있습니다.
559+
다른 접근 방식으로는 자체 hook을 통해 "비시각적인" 로직을 추출하는 것을 시도해 볼 수 있습니다. 그리고 hook에 의해서 반환된 정보를 사용하여 렌더링할 내용을 정합니다. 예를 들어 다음과 같이 `useList` 같은 커스텀 hook을 작성할 수 있습니다.
560560
561561
```js
562562
import { useState } from 'react';

0 commit comments

Comments
 (0)