chocolatl

Results 7 issues of chocolatl

现在的取值说明是这样的: > forwards: 设置对象状态为动画结束时的状态 > backwards: 设置对象状态为动画开始时的状态 > both: 设置对象状态为动画结束或开始的状态 我觉得改成这样是不是更好理解些: > forwards:动画结束时将元素设置为动画最后一帧的状态 > backwards:当在animation-delay的时间里将元素设置为动画第一帧的状态 > both:相当于同时设置了forwards和backwards 不知道我的理解是否有误。

第86页最后一段代码中的: > import {ADD_TODO, TOGGLE_TODO} from './actionTypes.js'; 漏了导入`REMOVE_TODO`

第204页第2段第2行: > 整个结合, 应该是整个集合

书中: > 比如rudex-saga要求开发者能够理解ES6的async和await语法 async语法应该是在ECMAScript 2016 (ES7)中定义的

第198页第3行: > 一秒钟有1000毫秒,1000⎕60≈16

第138页开头的代码: ```js color: (elements && elements.type === 'div') ? 'red' : 'green' } const newProps = {...this.props, style: newStyle}; return React.cloneElement(elements, newProps,lements.props.children); }; }; ``` `return React.cloneElement(elements, newProps,lements.props.children);`中的`lements`应该是`elements`