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.
1 parent d2ae711 commit 6250ba5Copy full SHA for 6250ba5
packages/svelte/src/internal/client/runtime.js
@@ -629,9 +629,12 @@ export function get(signal) {
629
}
630
631
if (
632
- is_updating_effect &&
633
(derived.f & CONNECTED) === 0 &&
634
- (effect_tracking() || (active_effect !== null && (active_effect.f & BRANCH_EFFECT) !== 0))
+ ((is_updating_effect &&
+ (effect_tracking() ||
635
+ (active_effect !== null && (active_effect.f & BRANCH_EFFECT) !== 0))) ||
636
+ // evaluating connected parent derived, so reconnect child deriveds too
637
+ (active_reaction !== null && (active_reaction.f & CONNECTED) !== 0))
638
) {
639
reconnect(derived);
640
0 commit comments