-
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
docs(cn): translate content/blog/2013-06-05-why-react.md into Chinese #179
docs(cn): translate content/blog/2013-06-05-why-react.md into Chinese #179
Conversation
Deploy preview for cn-reactjs ready! Built with commit 03e7846 |
Deploy preview for zh-hans-reactjs ready! Built with commit 03e7846 |
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.
Nice work
content/blog/2013-06-05-why-react.md
Outdated
@@ -1,88 +1,88 @@ | |||
--- | |||
title: Why did we build React? | |||
title: 我们为什么要构建 React |
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.
title: 我们为什么要构建 React | |
title: 我们为什么要构建 React? |
It looks like we need another reviewer to approve this pr |
content/blog/2013-06-05-why-react.md
Outdated
author: [petehunt] | ||
--- | ||
|
||
There are a lot of JavaScript MVC frameworks out there. Why did we build React | ||
and why would you want to use it? | ||
现在有很多 JavaScript MVC 框架。我们为什么要构建 React, |
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 MVC 框架。我们为什么要构建 React, | |
现在有很多 JavaScript MVC 框架。我们为什么还要构建 React, |
content/blog/2013-06-05-why-react.md
Outdated
React is a library for building composable user interfaces. It encourages | ||
the creation of reusable UI components which present data that changes over | ||
time. | ||
React 是一个用于构建可组合 UI 的库。 |
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.
如果原文是 UI 就直接用 UI,如果用了全称,就翻译出来意思
React 是一个用于构建可组合 UI 的库。 | |
React 是一个用于构建可组合用户界面的库。 |
content/blog/2013-06-05-why-react.md
Outdated
We've also created [JSX](/docs/jsx-in-depth.html), an optional syntax | ||
extension, in case you prefer the readability of HTML to raw JavaScript. | ||
我们也创造了 [JSX](/docs/jsx-in-depth.html),一种可选的语法扩展, | ||
以便你更喜欢 HTML 对原生 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.
prefer... to... 的意思是更喜欢。。。而不喜欢。。。
按照中文的语法习惯,这两行位置对调一下
以便你更喜欢 HTML 对原生 JavaScript 的可读性。 | |
相比原生 JavaScript,如果你更喜欢 HTML 的高可读性, | |
我们创造了 [JSX](/docs/jsx-in-depth.html),一种可选的语法扩展。 |
content/blog/2013-06-05-why-react.md
Outdated
在一个传统的 JavaScript 应用中,你需要观察数据发生了什么变化, | ||
并且为了让 DOM 保持最新的状态还必须对它进行更改。 | ||
AngularJS 甚至通过指令和数据绑定的提供声明式接口, | ||
还 [需要一个链接函数来手动更新 DOM 节点](https://code.angularjs.org/1.0.8/docs/guide/directive#reasonsbehindthecompilelinkseparation) 。 |
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.
还 [需要一个链接函数来手动更新 DOM 节点](https://code.angularjs.org/1.0.8/docs/guide/directive#reasonsbehindthecompilelinkseparation) 。 | |
还[需要一个链接函数来手动更新 DOM 节点](https://code.angularjs.org/1.0.8/docs/guide/directive#reasonsbehindthecompilelinkseparation) 。 |
content/blog/2013-06-05-why-react.md
Outdated
We call this process **reconciliation**. Check out | ||
[this jsFiddle](http://jsfiddle.net/2h6th4ju/) to see an example of | ||
reconciliation in action. | ||
我们把这个过程称为 **协调**。 查看 |
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.
我们把这个过程称为 **协调**。 查看 | |
我们把这个过程称为**协调**。 查看 |
content/blog/2013-06-05-why-react.md
Outdated
(including IE8) and automatically use | ||
[event delegation](http://davidwalsh.name/event-delegate). | ||
- Facebook 有些动态的图表会渲染成 `<canvas>` 而不是 HTML。 | ||
- Instagram 是一个完全用 React 和 `Backbone.Router` 构建的 “单页” web 应用程序。 |
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.
全角中文标点两侧不需要空格
- Instagram 是一个完全用 React 和 `Backbone.Router` 构建的 “单页” web 应用程序。 | |
- Instagram 是一个完全用 React 和 `Backbone.Router` 构建的“单页”web 应用程序。 |
@laobeijing0806 修改下 |
No description provided.