Translate react-without-jsx by shiincs · Pull Request #86 · reactjs/ko.react.dev
Progress
- 번역 초안 작성 (Draft translation)
- 공통 스타일 가이드 확인 (Check the common style guide)
- 모범사례 확인 (Check best practices)
- 용어 확인 (Check the term)
- 맞춤법 검사 (Spelling check)
- 리뷰 반영 (Resolve reviews)
| --- | ||
|
|
||
| JSX is not a requirement for using React. Using React without JSX is especially convenient when you don't want to set up compilation in your build environment. | ||
| React를 사용할 때 JSX는 필수사항이 아닙니다. 빌드 환경에서 컴파일 설정을 하고 싶지 않을 때 JSX 없이 React를 사용하면 편리합니다. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"필수사항이 아닙니다." -> "필수가 아닙니다." 로 제안드려요~
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"사용하면 편리합니다." -> "사용하는 것은 특히 편리합니다." 로 제안 드려요.
| React를 사용할 때 JSX는 필수사항이 아닙니다. 빌드 환경에서 컴파일 설정을 하고 싶지 않을 때 JSX 없이 React를 사용하면 편리합니다. | ||
|
|
||
| Each JSX element is just syntactic sugar for calling `React.createElement(component, props, ...children)`. So, anything you can do with JSX can also be done with just plain JavaScript. | ||
| 각 JSX 엘리먼트는 `React.createElement(component, props, ...children)`를 호출하기 위한 문법 설탕입니다. 그래서 JSX로 할 수 있는 모든 것은 순수 JavaScript에서도 할 수 있습니다. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"JavaScript에서도" -> "JavaScript로도" 로 제안드려요.
| If you use this shorthand form for `React.createElement`, it can be almost as convenient to use React without JSX. | ||
|
|
||
| Alternatively, you can refer to community projects such as [`react-hyperscript`](https://github.com/mlmorg/react-hyperscript) and [`hyperscript-helpers`](https://github.com/ohanhi/hyperscript-helpers) which offer a terser syntax. | ||
| `React.createElement`를 단축 폼으로 할당하면 편리하게 JSX 없이 React를 사용할 수 있습니다. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"단축 폼으로" -> "짧은 변수에" 는 어떨까요?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다~ 👍
그리고 마크다운에 Javascript로 되어 있는부분은 제가 js로 수정했어요~
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