From fc49a9255972127335f8db2b8430afd7f4b16edc Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Mon, 11 Mar 2019 18:20:59 -0700 Subject: [PATCH] Dedupe against a single turn on only under orderedComputed --- lib/mixins/property-effects.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/mixins/property-effects.js b/lib/mixins/property-effects.js index de2d153cb4..f946014a10 100644 --- a/lib/mixins/property-effects.js +++ b/lib/mixins/property-effects.js @@ -421,8 +421,10 @@ function runComputedEffects(inst, changedProps, oldProps, hasPaths) { Object.assign(/** @type {!Object} */ (changedProps), inst.__dataPending); inputProps = inst.__dataPending; inst.__dataPending = null; - // Ensure all computed properties are de-duped against the same turn - dedupeId--; + if (orderedComputed) { + // Ensure all computed properties are de-duped against the same turn + dedupeId--; + } } } }