Skip to content

Commit 09ec201

Browse files
committed
Update some text
1 parent 8d597f5 commit 09ec201

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: content/docs/components-and-props.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ ReactDOM.render(
7676
);
7777
```
7878

79-
[CodePen에서 시험해 보기 ](codepen://components-and-props/rendering-a-component)
79+
[CodePen에서 시험해보기](codepen://components-and-props/rendering-a-component)
8080

8181
이 예시에서는 다음과 같은 일들이 일어납니다.
8282

@@ -87,7 +87,7 @@ ReactDOM.render(
8787

8888

8989

90-
>**Note: 컴포넌트의 이름은 항상 대문자로 시작합니다.**
90+
>**주의: 컴포넌트의 이름은 항상 대문자로 시작합니다.**
9191
>
9292
>React는 소문자로 시작하는 컴포넌트를 DOM 태그로 처리합니다. 예를 들어 `<div />`는 HTML div 태그를 나타내지만, `<Welcome />`은 컴포넌트를 나타내며 범위 안에 `Welcome`이 있어야 합니다.
9393
>
@@ -121,7 +121,7 @@ ReactDOM.render(
121121
);
122122
```
123123

124-
[CodePen에서 시험해 보기](codepen://components-and-props/composing-components)
124+
[CodePen에서 시험해보기](codepen://components-and-props/composing-components)
125125

126126
일반적으로 새 React 앱은 최상위에 단일 `App` 컴포넌트를 가지고 있습니다. 하지만 기존 앱에 React를 통합하는 경우에는 `Button`과 같은 작은 컴포넌트부터 시작해서 뷰 계층의 상단으로 올라가면서 점진적으로 작업해야 할 수 있습니다.
127127

@@ -155,7 +155,7 @@ function Comment(props) {
155155
}
156156
```
157157

158-
[CodePen에서 시험해 보기](codepen://components-and-props/extracting-components)
158+
[CodePen에서 시험해보기](codepen://components-and-props/extracting-components)
159159

160160
이 컴포넌트는 `author`(객체), `text`(문자열) 및 `date`(날짜)를 props로 받은 후 소셜 미디어 웹 사이트의 코멘트를 나타냅니다.
161161

@@ -234,7 +234,7 @@ function Comment(props) {
234234
}
235235
```
236236

237-
[CodePen에서 시험해 보기](codepen://components-and-props/extracting-components-continued)
237+
[CodePen에서 시험해보기](codepen://components-and-props/extracting-components-continued)
238238

239239
처음에는 컴포넌트를 추출하는 작업이 지루해 보일 수 있습니다. 하지만 재사용 가능한 컴포넌트를 만들어 놓는 것은 더 큰 앱에서 작업할 때 두각을 나타냅니다. UI 일부가 여러 번 사용되거나 (`Button`, `Panel`, `Avatar`), UI 일부가 자체적으로 복잡한 (`App`, `FeedStory`, `Comment`) 경우에는 재사용 가능한 컴포넌트로 만드는 것이 좋습니다.
240240

@@ -250,7 +250,7 @@ function sum(a, b) {
250250

251251
이런 함수들은 [순수 함수](https://en.wikipedia.org/wiki/Pure_function)라고 호칭합니다. 입력값을 바꾸려 하지 않고 항상 동일한 입력값에 대해 동일한 결과를 반환하기 때문입니다.
252252

253-
반면에 다음 함수는 자신의 입력값을 변경하기 때문에 비순수 함수입니다.
253+
반면에 다음 함수는 자신의 입력값을 변경하기 때문에 순수 함수가 아닙니다.
254254

255255
```js
256256
function withdraw(account, amount) {

0 commit comments

Comments
 (0)