MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / readVNodeKey

Function readVNodeKey

packages/core/src/runtime/commit/validation.ts:166–170  ·  view source on GitHub ↗
(vnode: VNode)

Source from the content-addressed store, hash-verified

164}
165
166export function readVNodeKey(vnode: VNode): string | undefined {
167 const props = vnode.props as Readonly<{ key?: unknown }> | undefined;
168 const key = props?.key;
169 return typeof key === "string" ? key : undefined;
170}
171
172export function isContainerVNode(vnode: VNode): boolean {
173 return (

Callers 1

tryScheduleExitAnimationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected