We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e46a57 commit 2ab8c41Copy full SHA for 2ab8c41
packages/runtime-core/src/helpers/renderSlot.ts
@@ -47,7 +47,7 @@ export function renderSlot(
47
const validSlotContent = slot && ensureValidVNode(slot(props))
48
const rendered = createBlock(
49
Fragment,
50
- { key: props.key },
+ { key: props.key || `_${name}` },
51
validSlotContent || (fallback ? fallback() : []),
52
validSlotContent && (slots as RawSlots)._ === SlotFlags.STABLE
53
? PatchFlags.STABLE_FRAGMENT
0 commit comments