We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 923d560 commit 9c54dacCopy full SHA for 9c54dac
packages/compiler-core/src/transform.ts
@@ -256,7 +256,7 @@ export function createTransformContext(
256
}
257
context.parent!.children.splice(removalIndex, 1)
258
},
259
- onNodeRemoved: () => {},
+ onNodeRemoved: NOOP,
260
addIdentifiers(exp) {
261
// identifier tracking only happens in non-browser builds.
262
if (!__BROWSER__) {
packages/server-renderer/src/render.ts
@@ -107,7 +107,7 @@ export function renderComponentVNode(
107
),
108
)
109
// Note: error display is already done by the wrapped lifecycle hook function.
110
- .catch(() => {})
+ .catch(NOOP)
111
112
return p.then(() => renderComponentSubTree(instance, slotScopeId))
113
} else {
0 commit comments