huzidaha / react-naive-book

开源、免费、专业、简单的 React.js 在线教程
http://huziketang.com/books/react
3.77k stars 523 forks source link

setState时state状态值未改变 #28

Open odanzhou opened 6 years ago

odanzhou commented 6 years ago

this.state.count 应该还是undefined而非NaN