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.
patchFlag
1 parent b775b71 commit 0bdfa66Copy full SHA for 0bdfa66
packages/compiler-core/src/transforms/transformElement.ts
@@ -747,9 +747,11 @@ export function buildProps(
747
}
748
749
if (
750
- !shouldUseBlock &&
751
- (patchFlag === 0 || patchFlag === PatchFlags.HYDRATE_EVENTS) &&
752
- (hasRef || hasVnodeHook || runtimeDirectives.length > 0)
+ // #9239
+ hasRef ||
+ (!shouldUseBlock &&
753
+ (patchFlag === 0 || patchFlag === PatchFlags.HYDRATE_EVENTS) &&
754
+ (hasVnodeHook || runtimeDirectives.length > 0))
755
) {
756
patchFlag |= PatchFlags.NEED_PATCH
757
0 commit comments