We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e8560d commit 7a0dfd0Copy full SHA for 7a0dfd0
src/core/vdom/create-functional-component.js
@@ -49,7 +49,7 @@ export function FunctionalRenderContext (
49
this.parent = parent
50
this.listeners = data.on || emptyObject
51
this.injections = resolveInject(options.inject, parent)
52
- this.slots = () => resolveSlots(children, parent)
+ this.slots = () => this.$slots || (this.$slots = resolveSlots(children, parent))
53
54
Object.defineProperty(this, 'scopedSlots', ({
55
enumerable: true,
0 commit comments