diff options
Diffstat (limited to 'src/client-runtime.ffi.mjs')
-rw-r--r-- | src/client-runtime.ffi.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client-runtime.ffi.mjs b/src/client-runtime.ffi.mjs index 0b6c58f..16895a7 100644 --- a/src/client-runtime.ffi.mjs +++ b/src/client-runtime.ffi.mjs @@ -82,8 +82,8 @@ export class LustreClientApplication { while (this.#queue.length) { const [next, effects] = this.#update(this.#model, this.#queue.shift()); + this.#didUpdate ||= !isEqual(this.#model, next); this.#model = next; - this.#didUpdate ||= isEqual(this.#model, next); this.#effects = this.#effects.concat(effects.all.toArray()); } |