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.
1 parent d2bf3cc commit 6b23216Copy full SHA for 6b23216
packages/runtime-core/src/componentSlots.ts
@@ -36,6 +36,10 @@ export type RawSlots = {
36
// normalizeChildren when the component vnode is created.
37
_ctx?: ComponentInternalInstance | null
38
// internal, indicates compiler generated slots
39
+ // we use a reserved property instead of a vnode patchFlag because the slots
40
+ // object may be directly passed down to a child component in a manual
41
+ // render funciton, and the optimization hint need to be on the slot object
42
+ // itself to be preserved.
43
_?: 1
44
}
45
0 commit comments