Chore: Removed a simple indirection.

This commit is contained in:
Aria Minaei 2021-06-27 13:38:18 +02:00
parent 1e52c7de7e
commit 1387ac5b21

View file

@ -113,7 +113,7 @@ export default abstract class AbstractDerivation<V> implements IDerivation<V> {
if (!this._isFresh) {
const newValue = this._recalculate()
this._lastValue = newValue
if (this.isHot) {
if (this._isHot) {
this._isFresh = true
this._didMarkDependentsAsStale = false
}