MCPcopy
hub / github.com/vuejs/core / invokeVNodeHook

Function invokeVNodeHook

packages/runtime-core/src/vnode.ts:916–926  ·  view source on GitHub ↗
(
  hook: VNodeHook,
  instance: ComponentInternalInstance | null,
  vnode: VNode,
  prevVNode: VNode | null = null,
)

Source from the content-addressed store, hash-verified

914}
915
916export function invokeVNodeHook(
917 hook: VNodeHook,
918 instance: ComponentInternalInstance | null,
919 vnode: VNode,
920 prevVNode: VNode | null = null,
921): void {
922 callWithAsyncErrorHandling(hook, instance, ErrorCodes.VNODE_HOOK, [
923 vnode,
924 prevVNode,
925 ])
926}

Callers 6

mountElementFunction · 0.90
patchElementFunction · 0.90
componentUpdateFnFunction · 0.90
unmountFunction · 0.90
hydrateElementFunction · 0.90
setupFunction · 0.90

Calls 1

Tested by

no test coverage detected