Function
devtoolsComponentRemoved
(
component: ComponentInternalInstance,
)
Source from the content-addressed store, hash-verified
| 111 | ) |
| 112 | |
| 113 | export const devtoolsComponentRemoved = ( |
| 114 | component: ComponentInternalInstance, |
| 115 | ): void => { |
| 116 | if ( |
| 117 | devtools && |
| 118 | typeof devtools.cleanupBuffer === 'function' && |
| 119 | // remove the component if it wasn't buffered |
| 120 | !devtools.cleanupBuffer(component) |
| 121 | ) { |
| 122 | _devtoolsComponentRemoved(component) |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | type DevtoolsComponentHook = (component: ComponentInternalInstance) => void |
| 127 | |
Tested by
no test coverage detected