We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8a420c commit 36e2469Copy full SHA for 36e2469
packages/svelte/src/internal/client/runtime.js
@@ -816,10 +816,9 @@ function process_effects(effect, collected_effects) {
816
current_effect.f ^= CLEAN;
817
} else {
818
try {
819
- if ((flags & BOUNDARY_EFFECT) !== 0) {
820
- flush_boundary_micro_tasks();
821
- }
822
- if (check_dirtiness(current_effect)) {
+ // If the effect is dirty, then we need to update it, it might also turn inert
+ // because of async work during calling check_dirtiness
+ if (check_dirtiness(current_effect) && (current_effect.f & INERT) === 0) {
823
update_effect(current_effect);
824
}
825
} catch (error) {
0 commit comments