({
ref,
ref_key,
ref_for,
}: VNodeProps)
| 437 | key != null ? key : null |
| 438 | |
| 439 | const normalizeRef = ({ |
| 440 | ref, |
| 441 | ref_key, |
| 442 | ref_for, |
| 443 | }: VNodeProps): VNodeNormalizedRefAtom | null => { |
| 444 | if (typeof ref === 'number') { |
| 445 | ref = '' + ref |
| 446 | } |
| 447 | return ( |
| 448 | ref != null |
| 449 | ? isString(ref) || isRef(ref) || isFunction(ref) |
| 450 | ? { i: currentRenderingInstance, r: ref, k: ref_key, f: !!ref_for } |
| 451 | : ref |
| 452 | : null |
| 453 | ) as any |
| 454 | } |
| 455 | |
| 456 | function createBaseVNode( |
| 457 | type: VNodeTypes | ClassComponent | typeof NULL_DYNAMIC_COMPONENT, |
no test coverage detected