File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
packages/svelte/src/internal/client Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ export const EFFECT_TRANSPARENT = 1 << 16;
1818export const INSPECT_EFFECT = 1 << 17 ;
1919export const HEAD_EFFECT = 1 << 18 ;
2020export const EFFECT_PRESERVED = 1 << 19 ;
21- export const EFFECT_IS_UPDATING = 1 << 20 ;
22- export const USER_EFFECT = 1 << 21 ;
21+ export const USER_EFFECT = 1 << 20 ;
2322
2423export const STATE_SYMBOL = Symbol ( '$state' ) ;
2524export const LEGACY_PROPS = Symbol ( 'legacy props' ) ;
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import {
2121 BLOCK_EFFECT ,
2222 ROOT_EFFECT ,
2323 DISCONNECTED ,
24- EFFECT_IS_UPDATING ,
2524 STALE_REACTION ,
2625 USER_EFFECT
2726} from './constants.js' ;
@@ -94,7 +93,7 @@ export let source_ownership = null;
9493
9594/** @param {Value } value */
9695export function push_reaction_value ( value ) {
97- if ( active_reaction !== null && active_reaction . f & EFFECT_IS_UPDATING ) {
96+ if ( active_reaction !== null ) {
9897 if ( source_ownership === null ) {
9998 source_ownership = { reaction : active_reaction , sources : [ value ] } ;
10099 } else {
@@ -282,8 +281,6 @@ export function update_reaction(reaction) {
282281 untracking = false ;
283282 read_version ++ ;
284283
285- reaction . f |= EFFECT_IS_UPDATING ;
286-
287284 if ( reaction . ac !== null ) {
288285 reaction . ac . abort ( STALE_REACTION ) ;
289286 reaction . ac = null ;
@@ -368,8 +365,6 @@ export function update_reaction(reaction) {
368365 source_ownership = previous_reaction_sources ;
369366 set_component_context ( previous_component_context ) ;
370367 untracking = previous_untracking ;
371-
372- reaction . f ^= EFFECT_IS_UPDATING ;
373368 }
374369}
375370
You can’t perform that action at this time.
0 commit comments