* Remove a component tree from the DOM, including state and event handlers. * @param {import('./internal').PreactElement} container * @returns {boolean}
(container)
| 101 | * @returns {boolean} |
| 102 | */ |
| 103 | function unmountComponentAtNode(container) { |
| 104 | if (container._children) { |
| 105 | preactRender(null, container); |
| 106 | return true; |
| 107 | } |
| 108 | return false; |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Get the matching DOM node for a component |
no outgoing calls
no test coverage detected
searching dependent graphs…