Skip to content

Commit 256c124

Browse files
committed
WIP
1 parent 53fe68b commit 256c124

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/svelte/src/internal/client/runtime.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ import {
3838
tracing_expressions,
3939
set_tracing_expression_reactive,
4040
REACTIVE_UNCHANGED,
41-
REACTIVE_CHANGED
41+
REACTIVE_CHANGED,
42+
tracing_expression_reactive
4243
} from './dev/tracing.js';
4344

4445
const FLUSH_MICROTASK = 0;
@@ -787,7 +788,12 @@ export function get(signal) {
787788
}
788789
}
789790

790-
if (DEV && active_reaction !== null && tracing_expressions !== null) {
791+
if (
792+
DEV &&
793+
active_reaction !== null &&
794+
tracing_expressions !== null &&
795+
tracing_expression_reactive !== REACTIVE_UNCHANGED
796+
) {
791797
set_tracing_expression_reactive(
792798
signal.version > active_reaction.version || active_reaction.version === current_version
793799
? REACTIVE_CHANGED

0 commit comments

Comments
 (0)