2020年5月13日
摘要: 1、React.PureComponent 与 React.Component 完全相同,但是在shouldComponentUpdate()中实现时,使用了 props 和 state 的浅比较。 注意: React.PureComponent 的 shouldComponentUpdate()  阅读全文
posted @ 2020-05-13 16:46 zhengyulu 阅读(115) 评论(0) 推荐(0) 编辑