@ -127,8 +127,8 @@ export function set_untracked_writes(value) {
untracked_writes=value;
untracked_writes=value;
}
}
/** @type {number} Used by sources and deriveds for handling updates to unowned deriveds */
/** @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 */
letcurrent_version=0;
letcurrent_version=1;
// If we are working with a get() chain that has no active container,
// If we are working with a get() chain that has no active container,
// to prevent memory leaks, we skip adding the reaction.
// to prevent memory leaks, we skip adding the reaction.