@samitouri / QOS-React-2 / commits / 4df79154de

Translate tip-17 to Korean

- Up to 6f44f60

Jinwoo Oh committed Mar 15, 2015 at 02:14 UTC 4df79154de13a6ff7b5f99628fbc9e5f5294d5dc
1 file changed +28
docs/tips/17-children-undefined-ko-KR.md new
+28
@@ -0,0 +1,28 @@
1 +---
2 +id: children-undefined-ko-KR
3 +title: 정의되지 않은 this.props.children
4 +layout: tips
5 +permalink: children-undefined-ko-KR.html
6 +prev: references-to-components-ko-KR.html
7 +next: use-react-with-other-libraries-ko-KR.html
8 +---
9 +
10 +`this.props.children`을 통해 자식 컴포넌트에 접근할 수 없습니다. `this.props.children`은 소유자에 의해 자식이 **전달**되도록 지정합니다:
11 +
12 +```js
13 +var App = React.createClass({
14 + componentDidMount: function() {
15 + // 이는 `span`을 참조하지 않습니다!
16 + // 마지막 줄의 `<App></App>` 사이의 정의되지 않은 자식을 참조합니다.
17 + console.log(this.props.children);
18 + },
19 +
20 + render: function() {
21 + return <div><span/><span/></div>;
22 + }
23 +});
24 +
25 +React.render(<App></App>, mountNode);
26 +```
27 +
28 +괜찮은 예제들을 더 알아보려면, [프론트 페이지](/)의 마지막 예제를 참고하세요.