Translate Conditional Rendering#26
Merged
simsim0709 merged 16 commits intoreactjs:masterfrom Mar 12, 2019
Merged
Conversation
BKJang
reviewed
Feb 13, 2019
| React에서는 원하는 동작을 캡슐화하는 별개의 컴포넌트를 만들 수 있습니다. 그러면 애플리케이션의 상태에 따라서 컴포넌트 중 몇 개만을 렌더링할 수 있습니다.. | ||
|
|
||
| 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를 업데이트합니다. |
Contributor
There was a problem hiding this comment.
조건 처리와 같게보다는 조건 처리와 동일하게가 좀 더 자연스러울 것 같습니다.
Contributor
Author
There was a problem hiding this comment.
넵 말씀해 주신 것이 더 자연스러운것 같습니다.
Contributor
There was a problem hiding this comment.
자바스크립트→JavaScript요소→엘리먼트
Contributor
Author
There was a problem hiding this comment.
한자를 사용하지 않고 조건 처리와 같이로 처리했습니다.
Member
There was a problem hiding this comment.
조건 처리와 같이 -> 조건 처리와 같은 방식으로
같이만으로는 코드의 평가(evaluation)가 동시에 진행되는지 혹은 동작 원리가 동일한지 명확히 드러나지 않는 것 같아요. 원문에는 작동 방식에 대해 설명하고 있으므로 위처럼 제안드려봐요.
BKJang
reviewed
Feb 13, 2019
hewonjeong
reviewed
Feb 13, 2019
hewonjeong
reviewed
Feb 13, 2019
nukbal
reviewed
Feb 14, 2019
taehwanno
reviewed
Feb 25, 2019
|
Deploy preview for ko-reactjs-org ready! Built with commit 322476d |
|
Deploy preview for ko-reactjs-org ready! Built with commit 921cc2a |
taehwanno
previously approved these changes
Mar 6, 2019
taggon
reviewed
Mar 6, 2019
taehwanno
approved these changes
Mar 10, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
확인 후 피드백 해주시면 감사하겠습니다.