code: function hooks(vNode, patch, index) {
      if (isVNode(vNode)) {
          if (vNode.hooks) {
              patch[index] = new VPatch(VPatch.PROPS, vNode.hooks, vNode.hooks)
          }
  
          if (vNode.descendantHooks) {
              var children = vNode.children
              var len = children.length
              for (var i = 0; i < len; i++) {
                  var child = children[i]
                  index += 1
  
                  hooks(child, patch, index)
  
                  if (isVNode(child) && child.count) {
                      index += child.count
                  }
              }
          }
      }
  }
docs: Execute hooks when two nodes are identical