MCPcopy
hub / github.com/vuejs/core / devtoolsComponentRemoved

Function devtoolsComponentRemoved

packages/runtime-core/src/devtools.ts:113–124  ·  view source on GitHub ↗
(
  component: ComponentInternalInstance,
)

Source from the content-addressed store, hash-verified

111)
112
113export 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
126type DevtoolsComponentHook = (component: ComponentInternalInstance) => void
127

Callers 1

unmountComponentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected