We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React Fiber 除了通过挂起,恢复和终止来控制更新外,还给每个任务分配了优先级。 具体点就是在创建或者更新FiberNode 的时候,通过算法给每个任务分配一个到期时间(expirationTime)。 在每个任务执行的时候除了判断剩余时间,如果当前处理节点已经过期,那么无论现在是否有空闲时间都必须执行该任务。
更新过程的可控主要体现在下面几个方面:
https://www.zoo.team/article/about-react-fiber
The text was updated successfully, but these errors were encountered:
No branches or pull requests
React Fiber 除了通过挂起,恢复和终止来控制更新外,还给每个任务分配了优先级。 具体点就是在创建或者更新FiberNode 的时候,通过算法给每个任务分配一个到期时间(expirationTime)。 在每个任务执行的时候除了判断剩余时间,如果当前处理节点已经过期,那么无论现在是否有空闲时间都必须执行该任务。
更新过程的可控主要体现在下面几个方面:
https://www.zoo.team/article/about-react-fiber
The text was updated successfully, but these errors were encountered: