React某个语法无法执行

#1

#2

npm install --save-dev babel-preset-stage-2
然后在babelrc加上stage-2