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

Function isMismatchAllowedByVNode

packages/runtime-core/src/hydration.ts:1043–1049  ·  view source on GitHub ↗
({ props }: VNode)

Source from the content-addressed store, hash-verified

1041}
1042
1043function isMismatchAllowedByVNode({ props }: VNode): boolean {
1044 const allowedAttr = props && props[allowMismatchAttr]
1045 return (
1046 typeof allowedAttr === 'string' &&
1047 isMismatchAllowedByAttr(allowedAttr, MismatchTypes.CHILDREN)
1048 )
1049}

Callers 1

isNodeMismatchAllowedFunction · 0.85

Calls 1

isMismatchAllowedByAttrFunction · 0.85

Tested by

no test coverage detected