react
llkui
前端交流群:468103283
展开
-
react整合webpack时,遇到的syntaxerror
在开发react时,加入webpack时,遇到了如下错误 webpack.config.js配置如下 var webpack = require('webpack'); module.exports = { devtool: 'eval-source-map', entry: __dirname + '/src/index.js', output: { path: __di转载 2017-05-23 17:06:44 · 1078 阅读 · 0 评论 -
this.setState is not a function
在学习阮一峰老师的Flux 架构入门教程时,遇到了 this.setstate is not a function 我的代码如下 import React, {Component} from 'react'; import ListStore from '../stores/ListStore'; import ButtonActions from '../actions/ButtonA翻译 2017-05-20 09:42:07 · 6854 阅读 · 0 评论