File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed 
packages/svelte/src/internal/client/reactivity Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -283,19 +283,15 @@ export class Batch {
283283			if  ( ! skip  &&  effect . fn  !==  null )  { 
284284				if  ( is_branch )  { 
285285					effect . f  ^=  CLEAN ; 
286- 				}  else  if  ( ( flags  &  EFFECT )   ! ==  0 )  { 
287- 					if  ( ( flags  &  CLEAN )   = ==  0 )  { 
286+ 				}  else  if  ( ( flags  &  CLEAN )   = ==  0 )  { 
287+ 					if  ( ( flags  &  EFFECT )   ! ==  0 )  { 
288288						this . #effects. push ( effect ) ; 
289- 					} 
290- 				}  else  if  ( async_mode_flag  &&  ( flags  &  RENDER_EFFECT )  !==  0 )  { 
291- 					if  ( ( flags  &  CLEAN )  ===  0 )  { 
289+ 					}  else  if  ( async_mode_flag  &&  ( flags  &  RENDER_EFFECT )  !==  0 )  { 
292290						this . #render_effects. push ( effect ) ; 
293- 					} 
294- 				}  else  if  ( is_dirty ( effect ) )  { 
295- 					if  ( ( flags  &  ASYNC )  !==  0 )  { 
291+ 					}  else  if  ( ( flags  &  ASYNC )  !==  0 )  { 
296292						var  effects  =  effect . b ?. pending  ? this . #boundary_async_effects : this . #async_effects; 
297293						effects . push ( effect ) ; 
298- 					}  else  { 
294+ 					}  else  if   ( is_dirty ( effect ) )   { 
299295						if  ( ( effect . f  &  BLOCK_EFFECT )  !==  0 )  this . #block_effects. push ( effect ) ; 
300296						update_effect ( effect ) ; 
301297					} 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments