Skip to content

Commit

Permalink
fix(renderSlot): set slot render as a STABLE_FRAGMENT (#776)
Browse files Browse the repository at this point in the history
fix #766
  • Loading branch information
ysj16 authored Feb 25, 2020
1 parent 4a5b91b commit 8cb0b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/helpers/renderSlot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function renderSlot(
Fragment,
{ key: props.key },
slot ? slot(props) : fallback || [],
slots._ ? 0 : PatchFlags.BAIL
slots._ ? PatchFlags.STABLE_FRAGMENT : PatchFlags.BAIL
)
)
}

0 comments on commit 8cb0b83

Please sign in to comment.