* Get the matching DOM node for a component * @param {import('./internal').Component} component * @returns {import('./internal').PreactElement | null}
(component)
| 114 | * @returns {import('./internal').PreactElement | null} |
| 115 | */ |
| 116 | function findDOMNode(component) { |
| 117 | return ( |
| 118 | (component && |
| 119 | (component.base || (component.nodeType === 1 && component))) || |
| 120 | null |
| 121 | ); |
| 122 | } |
| 123 | |
| 124 | /** |
| 125 | * Deprecated way to control batched rendering inside the reconciler, but we |
no outgoing calls
no test coverage detected
searching dependent graphs…