Skip to content

Commit

Permalink
Merge pull request #6260 from iawia002/master
Browse files Browse the repository at this point in the history
Update 02-displaying-data.zh-CN.md
  • Loading branch information
jimfb committed Mar 15, 2016
2 parents b8682e0 + 37c3b08 commit 9e1a637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/02-displaying-data.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ JSX 类似于 HTML,但不是完全一样。参考 [JSX 陷阱](/react/docs/jsx

## 没有 JSX 的 React

JSX完全是可选的;你无需在 React 中必须使用 JSX。你可以通过 `React.createElement` 来创建一个树。第一个参数是标签,第二个参数是一个属性对象,每三个是子节点
JSX完全是可选的;你无需在 React 中必须使用 JSX。你可以通过 `React.createElement` 来创建一个树。第一个参数是标签,第二个参数是一个属性对象,第三个是子节点

```javascript
var child1 = React.createElement('li', null, 'First Text Content');
Expand Down

0 comments on commit 9e1a637

Please sign in to comment.