diff --git a/packages/runtime-core/src/componentSlots.ts b/packages/runtime-core/src/componentSlots.ts index ec58fd695c0..682a107e676 100644 --- a/packages/runtime-core/src/componentSlots.ts +++ b/packages/runtime-core/src/componentSlots.ts @@ -63,6 +63,10 @@ const normalizeSlot = ( rawSlot: Function, ctx: ComponentInternalInstance | null | undefined ): Slot => { + if ((rawSlot as any)._n) { + // already normalized - #5353 + return rawSlot as Slot + } const normalized = withCtx((...args: any[]) => { if (__DEV__ && currentInstance) { warn(