diff --git a/src/compile/render-dom/wrappers/Element/Binding.ts b/src/compile/render-dom/wrappers/Element/Binding.ts index 049bc8d07c..ba3f2a3017 100644 --- a/src/compile/render-dom/wrappers/Element/Binding.ts +++ b/src/compile/render-dom/wrappers/Element/Binding.ts @@ -74,8 +74,13 @@ export default class BindingWrapper { let updateConditions: string[] = []; const { name } = getObject(this.node.expression.node); + const { snippet } = this.node.expression; + // TODO unfortunate code is necessary because we need to use `ctx` + // inside the fragment, but not inside the