(target, elementType)
| 510 | {}, |
| 511 | { |
| 512 | get(target, elementType) { |
| 513 | if (typeof elementType !== 'string') { |
| 514 | return undefined; |
| 515 | } |
| 516 | |
| 517 | let res = domComponentCache[elementType]; |
| 518 | if (!res) { |
| 519 | res = forwardRef(DOMElement.bind(null, elementType)); |
| 520 | domComponentCache[elementType] = res; |
| 521 | } |
| 522 | |
| 523 | return res; |
| 524 | } |
| 525 | } |
| 526 | ) as DOMComponents; |
nothing calls this directly
no outgoing calls
no test coverage detected