react源码阅读笔记3

上篇建立了 root 对象以后,继续执行:react ...忽略callback的逻辑 //初始同步渲染模式 unbatchedUpdates(function () { if (parentComponent != null) { // root 外部加上 context 组件 root.legacy_renderSubtreeIntoCo
相关文章
相关标签/搜索