Skip to content

Commit 59a0958

Browse files
committed
docs: resolve conflict in createElement.md
1 parent bea2d12 commit 59a0958

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/content/reference/react/createElement.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,10 @@ function Greeting({ name }) {
4848

4949
`createElement`는 아래 프로퍼티를 가지는 React 엘리먼트 객체를 반환합니다.
5050

51-
<<<<<<< HEAD
5251
* `type`: 전달받은 `type`.
53-
* `props`: `ref``key`를 제외한 전달받은 `props`. `type`이 레거시 `type.defaultProps`를 가지는 컴포넌트라면, 누락되거나 정의되지 않은 `props``type.defaultProps` 값을 가져옵니다.
52+
* `props`: `ref``key`를 제외한 전달받은 `props`.
5453
* `ref`: 전달받은 `ref`. 누락된 경우 `null`.
5554
* `key`: 전달받은 `key`를 강제 변환한 문자열. 누락된 경우 `null`.
56-
=======
57-
* `type`: The `type` you have passed.
58-
* `props`: The `props` you have passed except for `ref` and `key`.
59-
* `ref`: The `ref` you have passed. If missing, `null`.
60-
* `key`: The `key` you have passed, coerced to a string. If missing, `null`.
61-
>>>>>>> b1a249d597016c6584e4c186daa28b180cc9aafc
6255

6356
일반적으로 엘리먼트는 컴포넌트에서 반환되거나 다른 엘리먼트의 자식으로 만듭니다. 엘리먼트의 프로퍼티에는 접근할 수 있지만, 엘리먼트 생성 후에는 모든 엘리먼트에 접근할 수 없는 것처럼 대하고 렌더링만 하는 것이 좋습니다.
6457

0 commit comments

Comments
 (0)