imageDatas.forEach((value, index) =>{
imgFigures.push(<ImgFigure data = {value} key={'imgFigures'+index}/>);
});
imgFigures.push(<ImgFigure data = {value} key={'imgFigures'+index}/>);
});
2016-04-27
前端變化太快 ,老師的視頻中還有g(shù)runt ,而現(xiàn)在generator-react-webpack V2.0 中已經(jīng)移除了 grunt,改成了 npm script
2016-04-27