Skip to content

Commit 0530c2c

Browse files
committed
debugging help
1 parent 42d5c7e commit 0530c2c

File tree

1 file changed

+5
-0
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+5
-0
lines changed

packages/svelte/src/internal/client/reactivity/batch.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ function update_pending() {
2626
/** @type {Map<Derived, any> | null} */
2727
export let batch_deriveds = null;
2828

29+
/** TODO handy for debugging, but we should probably eventually delete it */
30+
let uid = 1;
31+
2932
export class Batch {
33+
id = uid++;
34+
3035
/** @type {Map<Source, any>} */
3136
#previous = new Map();
3237

0 commit comments

Comments
 (0)