摘要: PureComponent 的使用场景 PureComponent 和 Component 的区别是,PureComponent 自带 shouldComponentUpdate 生命周期函数,会对传入的props进行浅比较。 PureComponent 和 immutable.js库 做结合,完美 阅读全文
posted @ 2019-12-26 23:50 每天都要进步一点点 阅读(328) 评论(0) 推荐(0)