File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
internal/client/dom/blocks Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ export const NAMESPACE_MATHML = 'http://www.w3.org/1998/Math/MathML';
4343// can be ignored and we want to keep the validation for svelte-ignore in place
4444export const IGNORABLE_RUNTIME_WARNINGS = /** @type {const } */ ( [
4545 'await_waterfall' ,
46+ 'await_reactivity_loss' ,
4647 'state_snapshot_uncloneable' ,
4748 'binding_property_non_reactive' ,
4849 'hydration_attribute_changed' ,
Original file line number Diff line number Diff line change @@ -376,8 +376,10 @@ export function capture(track = true) {
376376 set_active_effect ( previous_effect ) ;
377377 set_active_reaction ( previous_reaction ) ;
378378 set_component_context ( previous_component_context ) ;
379- } else if ( DEV ) {
380- set_from_async_derived ( was_from_async_derived ) ;
379+ }
380+
381+ if ( DEV ) {
382+ set_from_async_derived ( track ? null : was_from_async_derived ) ;
381383 }
382384
383385 // prevent the active effect from outstaying its welcome
@@ -416,6 +418,7 @@ function exit() {
416418 set_active_effect ( null ) ;
417419 set_active_reaction ( null ) ;
418420 set_component_context ( null ) ;
421+ if ( DEV ) set_from_async_derived ( null ) ;
419422}
420423
421424export function pending ( ) {
You can’t perform that action at this time.
0 commit comments