File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
packages/svelte/src/internal/client Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff 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
4445const 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
You can’t perform that action at this time.
0 commit comments