React源码阅读笔记5

function requestWork(root, expirationTime) { // 把当前 root设置为最高优先级 //将root加到schedule, 即设置firstScheduledRoot, lastScheduledRoot以及他们的nextScheduleRoot属性, // 说白了就是一个闭环链式结构 first => next => next => last(
相关文章
相关标签/搜索