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 168a17a commit 3628991Copy full SHA for 3628991
packages/compiler-core/src/transforms/transformElement.ts
@@ -465,7 +465,12 @@ export function buildProps(
465
// in inline mode there is no setupState object, so we can't use string
466
// keys to set the ref. Instead, we need to transform it to pass the
467
// acrtual ref instead.
468
- if (!__BROWSER__ && context.inline) {
+ if (
469
+ !__BROWSER__ &&
470
+ value &&
471
+ context.inline &&
472
+ context.bindingMetadata[value.content]
473
+ ) {
474
isStatic = false
475
}
476
0 commit comments