摘要: 调研渲染行为 (1.使用profiler观察组件的渲染情况,引出某个组件的“异常渲染”问题,再解释useSelector和组件重渲染的关系 ) 这里使用到了redux profiler这个调试工具(当然得提前安装好React devtools这个chrome), 以我们已经编写好的页面举例子: Pr 阅读全文
posted @ 2023-03-20 16:43 刘老六 阅读(86) 评论(0) 推荐(0) 编辑