]> git.ipfire.org Git - thirdparty/vuejs/core.git/commit
fix(runtime-core): bail manually rendered compiler slot fragments in all cases
authorEvan You <evan@vuejs.org>
Thu, 11 Jul 2024 16:34:05 +0000 (00:34 +0800)
committerEvan You <evan@vuejs.org>
Thu, 11 Jul 2024 16:34:23 +0000 (00:34 +0800)
commit3d34f406ac7497dafd2f4e62ab23579b78a0e08a
tree1ac45f176232e6d06dd709aeed27f0336722fd8d
parent23cd61423c1201eb948a21d6be0a8b9049080ce0
fix(runtime-core): bail manually rendered compiler slot fragments in all cases

Previously this bail was only applied on updates but not on initial mount,
and leads to different patch code paths between mount and update in edge
cases.

close #10870
packages/runtime-core/__tests__/componentSlots.spec.ts
packages/runtime-core/__tests__/rendererOptimizedMode.spec.ts
packages/runtime-core/src/component.ts
packages/runtime-core/src/componentSlots.ts
packages/runtime-core/src/renderer.ts