2020年4月1日
摘要: //使用React普通函数时,可以使用两种优化方式,PureComponent和shouldComponentUpdate //shouldComponentUpdate //shouldComponentUpdate class Foo extends Component { shouldComp 阅读全文
posted @ 2020-04-01 09:08 随心的博客 阅读(5250) 评论(0) 推荐(1) 编辑