many-react-demo icon indicating copy to clipboard operation
many-react-demo copied to clipboard

各种react demo的合集,有todo / 计算器 / 动画演示应用等(附详细说明和注释)

Results 3 many-react-demo issues
Sort by recently updated
recently updated
newest added

参考资料: - [rc-collapse](https://github.com/react-component/collapse)

在Counter的demo中应用了mobx, 但是开始运行的时候总是报错,报错信息如下 ``` Decorators are not officially supported yet in 6.x pending a proposal update. However, if you need to use them you can install the legacy decorators transform with:...

之前测试的时候发现classnames配和CSS Modules使用的时候没生效,没有生成hash后缀,开始以为是配和scss出了问题,后来查文档发现是自己使用问题,没写对,如下,完整的使用过程 ```js import classNames from 'classnames/bind'; //问题出在这步,没加bind import styles from '../index.scss'; //引入scss文件 let cx = classNames.bind(styles); //.... //这里不加单引号也可以,但是我还是习惯加单引号,看着像类名一点 let liClass = cx({ 'completed': todo.completed, 'editing': this.state.editing }); return (...