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

Function onMismatch

packages/runtime-core/src/hydration.ts:147–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145 optimized = optimized || !!vnode.dynamicChildren
146 const isFragmentStart = isComment(node) && node.data === '['
147 const onMismatch = () =>
148 handleMismatch(
149 node,
150 vnode,
151 parentComponent,
152 parentSuspense,
153 slotScopeIds,
154 isFragmentStart,
155 )
156
157 const { type, ref, shapeFlag, patchFlag } = vnode
158 let domType = node.nodeType

Callers 1

hydrateNodeFunction · 0.85

Calls 1

handleMismatchFunction · 0.85

Tested by

no test coverage detected