MCPcopy
hub / github.com/ygs-code/vue / invokeInsertHook

Function invokeInsertHook

vue.js:8769–8779  ·  view source on GitHub ↗
(vnode, queue, initial)

Source from the content-addressed store, hash-verified

8767 }
8768
8769 function invokeInsertHook(vnode, queue, initial) {
8770 // delay insert hooks for component root nodes, invoke them after the
8771 // element is really inserted
8772 if (isTrue(initial) && isDef(vnode.parent)) {
8773 vnode.parent.data.pendingInsert = queue;
8774 } else {
8775 for (var i = 0; i < queue.length; ++i) {
8776 queue[i].data.hook.insert(queue[i]);
8777 }
8778 }
8779 }
8780
8781 var hydrationBailed = false;
8782 // list of modules that can skip create hook during hydration because they

Callers 1

createPatchFunctionFunction · 0.85

Calls 2

isTrueFunction · 0.85
isDefFunction · 0.85

Tested by

no test coverage detected