推荐关注
› Meteor
› JSLint - a JavaScript code quality tool
› jsFiddle
› D3.js
› WebStorm
推荐书目
› JavaScript 权威指南第 5 版
› Closure: The Definitive Guide
Semloh

[英] 深入理解 React 源码-界面更新(DOM 树)IX

  •  
  •   Semloh · Feb 27, 2018 · 4070 views
    This topic created in 3131 days ago, the information mentioned may be changed or developed.

    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 replies  •  2018-02-28 18:30:33 +08:00
    haiyang5210
        1
    haiyang5210  
       Feb 28, 2018
    牛人翻译一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2982 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 00:18 · PVG 08:18 · LAX 17:18 · JFK 20:18
    ♥ Do have faith in what you're doing.