Skip to content

Commit 442c604

Browse files
committed
Resolve merge conflict
Related to 02d17e4
1 parent 7dfa589 commit 442c604

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

content/docs/add-react-to-a-website.md

+2-13
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,15 @@ React는 처음부터 점진적으로 도입할 수 있게 설계되었습니다
4747
4848
### 2단계: 스크립트 태그 추가하기 {#step-2-add-the-script-tags}
4949

50-
그 다음, `<script>` 태그 3개를 닫는 태그인 `</body>` 앞에 추가해줍니다.
50+
그 다음, `<script>` 태그 3개를 닫는 태그인 `</body>` 앞에 추가해줍니다.
5151

5252
```html{5,6,9}
5353
<!-- ... 다른 HTML ... -->
5454
55-
<<<<<<< HEAD
5655
<!-- React를 실행. -->
5756
<!-- 주의: 사이트를 배포할 때는 "development.js"를 "production.min.js"로 대체하세요. -->
58-
<script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
59-
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>
60-
=======
61-
<!-- Load React. -->
62-
<!-- Note: when deploying, replace "development.js" with "production.min.js". -->
6357
<script src="https://unpkg.com/react@17/umd/react.development.js" crossorigin></script>
6458
<script src="https://unpkg.com/react-dom@17/umd/react-dom.development.js" crossorigin></script>
65-
>>>>>>> 6682068641c16df6547b3fcdb7877e71bb0bebf9
6659
6760
<!-- 만든 React 컴포넌트를 실행. -->
6861
<script src="like_button.js"></script>
@@ -74,7 +67,7 @@ React는 처음부터 점진적으로 도입할 수 있게 설계되었습니다
7467

7568
### 3단계: React 컴포넌트 만들기 {#step-3-create-a-react-component}
7669

77-
`like_button.js` 라는 이름으로 HTML 페이지 옆에 새 파일을 만듭니다.
70+
`like_button.js` 라는 이름으로 HTML 페이지 옆에 새 파일을 만듭니다.
7871

7972
**[스타터 코드](https://gist.github.com/gaearon/0b180827c190fe4fd98b4c7f570ea4a8/raw/b9157ce933c79a4559d2aa9ff3372668cce48de7/LikeButton.js)** 를 열고 코드를 방금 만든 파일에 복사해줍니다.
8073

@@ -91,11 +84,7 @@ const domContainer = document.querySelector('#like_button_container');
9184
ReactDOM.render(e(LikeButton), domContainer);
9285
```
9386

94-
<<<<<<< HEAD
9587
이 두줄의 코드는 첫 단계에서 HTML 페이지에 추가했던 `<div>` 태그를 찾아주고 그 안에 "좋아요" 버튼이라는 React 컴포넌트를 추가해줍니다.
96-
=======
97-
These two lines of code find the `<div>` we added to our HTML in the first step, and then display our "Like" button React component inside of it.
98-
>>>>>>> 6682068641c16df6547b3fcdb7877e71bb0bebf9
9988

10089
### 다 끝났습니다! {#thats-it}
10190

0 commit comments

Comments
 (0)