Skip to content

Commit

Permalink
Dedupe against a single turn on only under orderedComputed
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Mar 12, 2019
1 parent 42dd361 commit fc49a92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/mixins/property-effects.js
Original file line number Diff line number Diff line change
Expand Up @@ -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--;
}
}
}
}
Expand Down

0 comments on commit fc49a92

Please sign in to comment.