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 1d0403a commit cfa325bCopy full SHA for cfa325b
autorun.js
@@ -48,6 +48,12 @@ function _autoStopComputation(computation, component) {
48
return;
49
}
50
51
+ if ($$.fragment && $$.dirty[0] === -1) {
52
+ // We have a fragment, but it's set to the initial dirty state, so we must
53
+ // be in on onMount or so. Don't do anything special, then.
54
+ return;
55
+ }
56
+
57
// We are in a reactive Svelte update. That means that we'll need to stop the
58
// computation the next time that it is run. But we don't know when that is,
59
// because the next update may or may not hit this autorun again, depending on
0 commit comments