摘要:
推荐博客::: https://blog.csdn.net/rainnnbow/article/details/51125498 https://blog.csdn.net/xifeijian/article/details/10813339 https://blog.csdn.net/xifeij 阅读全文
posted @ 2021-02-24 17:51
程序员草莓
阅读(58)
评论(0)
推荐(0)
摘要:
1 setState是谁调用的? this.setState setState的调用会引起React的更新生命周期的4个函数执行。 shouldComponentUpdate (true, should, 阀门)(当shouldComponentUpdate执行时,返回true,进行下一步,this 阅读全文
posted @ 2021-02-24 16:29
程序员草莓
阅读(209)
评论(0)
推荐(0)
浙公网安备 33010602011771号