Skip to content
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

fix:笔误 #34

Open
wants to merge 1 commit into
base: remote-version
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _posts/2017-02-24-lesson13.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ReactDOM.render(

<a href="http://huzidaha.github.io/static/assets/img/posts/AABC1755-55EA-4E42-8763-A15234DB1F02.png" target="_blank">![React.js 小书渲染列表数据图片](http://huzidaha.github.io/static/assets/img/posts/AABC1755-55EA-4E42-8763-A15234DB1F02.png)</a>

但我们一般不会手动写循环来构建列表的 JSX 结构,可以直接用 ES6 自带的 `map`(不了解 `map` 函数的同学可以先了解相关的知识再来回顾这里),代码可以简化成:
但我们一般不会手动写循环来构建列表的 JSX 结构,可以直接用 ES5 自带的 `map`(不了解 `map` 函数的同学可以先了解相关的知识再来回顾这里),代码可以简化成:

```javascript
class Index extends Component {
Expand Down