源码看React setState漫谈(二) 这里我们看看setState在生命周期的各个流程里调用都会发生什么。首先会判断是否需要更新。源码看React setState漫谈(二) setState,更新了pendIngStateQueue,更新了dirtyComponents。 wxuande 2019-06-21 22:21:32
ReactReconcileTransaction源码(待定) ReactReconcileTransaction模块用于在组件元素挂载前后执行指定的钩子函数,特别是componentDidMount、componentDidUpdate生命周期调用方法,其次是向组件实例注入updater参数,实现se yutongzhi0 2017-01-31 19:57:49