Skip to content

Commit

Permalink
Update packages/@lwc/engine-core/src/framework/mutation-tracker.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Will Harney <[email protected]>
  • Loading branch information
nolanlawson and wjhsf authored Jan 8, 2025
1 parent 1fad66e commit a3d0b0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function componentValueObserved(vm: VM, key: PropertyKey, target: any = {
!isNull(target) &&
safeHasProp(target, 'value') &&
safeHasProp(target, 'subscribe') &&
isFunction((target as any).subscribe) &&
isFunction(target.subscribe) &&
isTrustedSignal(target) &&
// Only subscribe if a template is being rendered by the engine
tro.isObserving()
Expand Down

0 comments on commit a3d0b0f

Please sign in to comment.