Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate Conditional Rendering #26

Merged
merged 16 commits into from
Mar 12, 2019
Merged

Translate Conditional Rendering #26

merged 16 commits into from
Mar 12, 2019

Conversation

Jonir227
Copy link
Contributor

확인 후 피드백 해주시면 감사하겠습니다.


Conditional rendering in React works the same way conditions work in JavaScript. Use JavaScript operators like [`if`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/if...else) or the [conditional operator](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/Conditional_Operator) to create elements representing the current state, and let React update the UI to match them.
React에서 조건부 렌더링은 자바스크립트에서의 조건 처리와 같게 동작합니다. [`if`](https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Statements/if...else) 나 [`조건부 연산자`](https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Operators/Conditional_Operator) 와 같은 자바스크립트 연산자를 현재 상태를 나타내는 요소들를 만드는 데에 사용하세요. 그러면 React는 현재 상태에 맞게 UI를 업데이트합니다.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

조건 처리와 같게보다는 조건 처리와 동일하게가 좀 더 자연스러울 것 같습니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵 말씀해 주신 것이 더 자연스러운것 같습니다.

Copy link
Contributor

@hewonjeong hewonjeong Feb 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 자바스크립트JavaScript
  • 요소엘리먼트

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

한자를 사용하지 않고 조건 처리와 같이로 처리했습니다.

Copy link
Member

@taehwanno taehwanno Feb 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

조건 처리와 같이 -> 조건 처리와 같은 방식으로

같이만으로는 코드의 평가(evaluation)가 동시에 진행되는지 혹은 동작 원리가 동일한지 명확히 드러나지 않는 것 같아요. 원문에는 작동 방식에 대해 설명하고 있으므로 위처럼 제안드려봐요.

content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
@netlify
Copy link

netlify bot commented Mar 6, 2019

Deploy preview for ko-reactjs-org ready!

Built with commit 322476d

https://deploy-preview-26--ko-reactjs-org.netlify.com

@netlify
Copy link

netlify bot commented Mar 6, 2019

Deploy preview for ko-reactjs-org ready!

Built with commit 921cc2a

https://deploy-preview-26--ko-reactjs-org.netlify.com

taehwanno
taehwanno previously approved these changes Mar 6, 2019
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
content/docs/conditional-rendering.md Outdated Show resolved Hide resolved
@simsim0709 simsim0709 self-requested a review March 12, 2019 08:42
Copy link
Collaborator

@simsim0709 simsim0709 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다~ 👍

@simsim0709 simsim0709 merged commit 9823b50 into reactjs:master Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants