Const {logged, ...rest } = this.props,webpack编译时,出语法错。

#1

…变量的赋值方式用webpack编译好像没识别出来

webpack.config文件里有把es2015放第一位。求解。。

#2

babel-preset-state0