使用 React.createClass 的方式创建的组件,内部使用 this.setState 调用时,找不到 setState 函数。大概原因是 hmr 依赖的库需要 **proto** 特性支持,但 ie9 下面没有 **proto**。去掉 hmr 插件后问题解决。 https://github.com/gaearon/react-proxy/issues/27