-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
cn-Introducing-JSX #15
Conversation
content/docs/introducing-jsx.md
Outdated
|
||
It is called JSX, and it is a syntax extension to JavaScript. We recommend using it with React to describe what the UI should look like. JSX may remind you of a template language, but it comes with the full power of JavaScript. | ||
它被称为 JSX, 是基于JavaScript 语法的一种扩展。 我们推荐大家用它来描述用户界面。JSX 可能乍一看像模版语言,但它具有JavaScript 的全部功能。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「基于JavaScript 语法的一种扩展」 ->「基于 JavaScript 语法的一种扩展」
content/docs/introducing-jsx.md
Outdated
|
||
JSX produces React "elements". We will explore rendering them to the DOM in the [next section](/docs/rendering-elements.html). Below, you can find the basics of JSX necessary to get you started. | ||
JSX 生成 React "元素"。我们将在 [下一章节](/ docs / rendering-elements.html)中探索如何将这些元素渲染到 DOM 里。 下面,我们来看一看 JSX 的基本使用方法,以帮助您入门。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议你看看 https://github.com/sparanoid/chinese-copywriting-guidelines ,你的排版有问题。
你重新排版之后我在看吧。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@QC-L
Ok, thanks for the link. I will check it out.
你说的排版问题,是指字符间的空格不对 还是其他的?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
都有
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
你看,[下一章节](/docs/rendering-elements.html)
这是 md 文件的链接写法,他们是一体的。
你这样弄完,页面显示都会有问题。
而且下一章节左右两边没必要加空格,不是英文。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@haimengzhang 你可以加下微信群,我详细跟你说
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这篇用谷歌翻译回炉重造吧
@haimengzhang 这里进度如何啦 |
@lcxfs1991 having a few things to change with alignment, gonna push again after some edits |
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
Co-Authored-By: haimengzhang <hzhang1@macalester.edu>
content/docs/introducing-jsx.md
Outdated
|
||
It is called JSX, and it is a syntax extension to JavaScript. We recommend using it with React to describe what the UI should look like. JSX may remind you of a template language, but it comes with the full power of JavaScript. | ||
它被称为 JSX, 是一个 JavaScript 的语法扩展。我们建议在 React 中配合使用 JSX,JSX 可以很好地描述 UI 应该呈现出它应有交互的本质形式。JSX 可能使人想起模版语言,但它具有 JavaScript 的全部功能。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
它被称为 JSX, 是一个 JavaScript 的语法扩展。我们建议在 React 中配合使用 JSX,JSX 可以很好地描述 UI 应该呈现出它应有交互的本质形式。JSX 可能使人想起模版语言,但它具有 JavaScript 的全部功能。 | |
它被称为 JSX,是一个 JavaScript 的语法扩展。我们建议在 React 中配合使用 JSX,JSX 可以很好地描述 UI 应该呈现出它应有交互的本质形式。JSX 可能使人想起模版语言,但它具有 JavaScript 的全部功能。 |
* translate up to embedding-expressions-in-jsx * translate up until jsx-injection-attack * translate rest of intro jsx page * modify some word translations * Reformatting sentences * fix errors on translation and delete spaces * 修复错误格式 * modifying translations * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * 修复格式 * 修复 markdown 和其他 * Update introducing-jsx.md * Update introducing-jsx.md * Update introducing-jsx.md
* translate up to embedding-expressions-in-jsx * translate up until jsx-injection-attack * translate rest of intro jsx page * modify some word translations * Reformatting sentences * fix errors on translation and delete spaces * 修复错误格式 * modifying translations * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * Update content/docs/introducing-jsx.md Co-Authored-By: haimengzhang <hzhang1@macalester.edu> * 修复格式 * 修复 markdown 和其他 * Update introducing-jsx.md * Update introducing-jsx.md * Update introducing-jsx.md
No description provided.