We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isUpdating
1 parent 750e7cd commit a3a20afCopy full SHA for a3a20af
packages/runtime-vapor/src/renderEffect.ts
@@ -53,8 +53,6 @@ export class RenderEffect extends ReactiveEffect {
53
54
this.job = job
55
this.i = instance
56
-
57
- // TODO recurse handling
58
}
59
60
fn(): void {
@@ -67,6 +65,7 @@ export class RenderEffect extends ReactiveEffect {
67
65
68
66
const prev = setCurrentInstance(instance, scope)
69
if (hasUpdateHooks && instance.isMounted && !instance.isUpdating) {
+ // avoid recurse update until updateJob flushed
70
instance.isUpdating = true
71
instance.bu && invokeArrayFns(instance.bu)
72
this.render()
0 commit comments