会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
一百°c的冰块
博客园
首页
新随笔
新文章
联系
管理
订阅
2020年4月20日
react性能优化最佳实践
摘要: 1、PureComponent 的使用场景 PureComponent 和 Component 的区别是,PureComponent 自带 shouldComponentUpdate 生命周期函数,会对传入的props进行浅比较。 PureComponent 和 immutable.js库 做结合,
阅读全文
posted @ 2020-04-20 16:41 一百°c的冰块
阅读(175)
评论(0)
推荐(0)
编辑
公告