We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
() => {}
NOOP
1 parent 61c3c8e commit eb99101Copy full SHA for eb99101
packages/compiler-core/src/transform.ts
@@ -255,7 +255,7 @@ export function createTransformContext(
255
}
256
context.parent!.children.splice(removalIndex, 1)
257
},
258
- onNodeRemoved: () => {},
+ onNodeRemoved: NOOP,
259
addIdentifiers(exp) {
260
// identifier tracking only happens in non-browser builds.
261
if (!__BROWSER__) {
packages/runtime-core/src/compat/global.ts
@@ -461,7 +461,7 @@ function installCompatMount(
461
462
const hasNoRender =
463
!isFunction(component) && !component.render && !component.template
464
- const emptyRender = () => {}
+ const emptyRender = NOOP
465
466
// create root instance
467
const instance = createComponentInstance(vnode, null, null)
0 commit comments