glass-easel icon indicating copy to clipboard operation
glass-easel copied to clipboard

Literal values in template always treated as updated

Open SgLy opened this issue 11 months ago • 0 comments

Literal values in template like arr-prop in <component arr-prop="{{ [valueA, valueB] }}"> are always treated as updated, regardless of whether valueA and valueB are updated or not. This may lead to unrelated data updates triggering property observers.

Maybe better to let a literal value stay not updated when all its member is not updated?

SgLy avatar Mar 21 '24 08:03 SgLy