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. …
1
haiyang5210 2018-02-28 18:30:33 +08:00
牛人翻译一下
|