You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/svelte/src/internal/client/runtime.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -127,8 +127,8 @@ export function set_untracked_writes(value) {
127
127
untracked_writes=value;
128
128
}
129
129
130
-
/** @type {number} Used by sources and deriveds for handling updates to unowned deriveds */
131
-
letcurrent_version=0;
130
+
/** @type {number} Used by sources and deriveds for handling updates to unowned deriveds it starts from 1 to differentiate between a created effect and a run one for tracing */
131
+
letcurrent_version=1;
132
132
133
133
// If we are working with a get() chain that has no active container,
134
134
// to prevent memory leaks, we skip adding the reaction.
0 commit comments