fix: computation should be lazy.
This commit is contained in:
parent
ecbe842154
commit
4de52d8b6e
|
@ -61,10 +61,6 @@ export class RProxyNode<T = any> extends RNode<T> {
|
||||||
}
|
}
|
||||||
this.parent.children.set(this.key, this);
|
this.parent.children.set(this.key, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.isComputed) {
|
|
||||||
this.update();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
compare(prevValue: any, value: any) {
|
compare(prevValue: any, value: any) {
|
||||||
|
|
Loading…
Reference in New Issue