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 293bdfd commit bcbba7eCopy full SHA for bcbba7e
packages/svelte/src/internal/client/runtime.js
@@ -953,10 +953,9 @@ export function get(signal) {
953
954
if (parent !== null) {
955
// If the derived is owned by another derived then mark it as unowned
956
- // as the derived value might have been shared and thus we cannot determine
957
- // a true
+ // as the derived value might have been referenced in a different context
+ // since and thus its parent might not be its true owner anymore
958
if ((parent.f & DERIVED) !== 0 && (parent.f & UNOWNED) === 0) {
959
- debugger;
960
derived.f ^= UNOWNED;
961
} else {
962
// Otherwise we can attach the derieved to the parent effect
0 commit comments