From 5f21efe7dc32c805f3532b315cef2204adb1503c Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sun, 29 Mar 2026 22:34:36 -0400 Subject: [PATCH] WIP --- packages/svelte/src/internal/client/reactivity/batch.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/svelte/src/internal/client/reactivity/batch.js b/packages/svelte/src/internal/client/reactivity/batch.js index 8b6e169969..f74ebc2edc 100644 --- a/packages/svelte/src/internal/client/reactivity/batch.js +++ b/packages/svelte/src/internal/client/reactivity/batch.js @@ -783,9 +783,8 @@ export class Batch { // if there are multiple batches, we are 'time travelling' — // we need to override values with the ones in this batch... batch_values = new Map(this.current); - - batch_cvs = new Map(this.cvs); - batch_wvs = new Map(this.wvs); + batch_cvs = this.cvs; + batch_wvs = this.wvs; // ...and undo changes belonging to other batches unless they block this one for (const batch of batches) {