Skip to content

Commit 1d323c9

Browse files
fix(runtime-core): add patchFlag to element containing ref attributes
1 parent 0bdfa66 commit 1d323c9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/compiler-core/src/transforms/transformElement.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,6 @@ export function buildProps(
747747
}
748748
}
749749
if (
750-
// #9239
751750
hasRef ||
752751
(!shouldUseBlock &&
753752
(patchFlag === 0 || patchFlag === PatchFlags.HYDRATE_EVENTS) &&

0 commit comments

Comments
 (0)