We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
process_effects
1 parent a1adf2b commit bfb969aCopy full SHA for bfb969a
packages/svelte/src/internal/client/runtime.js
@@ -780,19 +780,12 @@ function process_effects(root) {
780
} else if (is_branch) {
781
effect.f ^= CLEAN;
782
} else {
783
- // Ensure we set the effect to be the active reaction
784
- // to ensure that unowned deriveds are correctly tracked
785
- // because we're flushing the current effect
786
- var previous_active_reaction = active_reaction;
787
try {
788
- active_reaction = effect;
789
if (check_dirtiness(effect)) {
790
update_effect(effect);
791
}
792
} catch (error) {
793
handle_error(error, effect, null, effect.ctx);
794
- } finally {
795
- active_reaction = previous_active_reaction;
796
797
798
0 commit comments