[英] 深入理解React源码-界面更新(DOM树)IX
发布于 1 个月前 作者 holmeshe 306 次浏览 来自 分享

https://holmeshe.me/understanding-react-js-source-code-virtual-dom-diff-IX/

Last time we went through the process from setState() to the updating of a single DOM. We also analyzed the diffing algorithm, which is far from complete as the algorithm is designed for tasks that are much more complex than updating a single DOM node.

This time we are going to use two examples to examine the diffing algorithm more in depth. More specific, we look at how the algorithm deals with a mutating DOM tree. …

回到顶部