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 884e41f commit 33bf522Copy full SHA for 33bf522
packages/svelte/tests/runtime-runes/samples/effect-tracking/main.svelte
@@ -1,5 +1,5 @@
1
<script>
2
- import {untrack} from 'svelte';
+ import { untrack } from 'svelte';
3
4
const foo = $effect.tracking();
5
let bar = $state(false);
@@ -10,5 +10,5 @@
10
11
<p>{foo}</p>
12
<p>{bar}</p>
13
-<p>{$effect.tracking()}</p>
14
-<p>{untrack(() => $effect.tracking())}</p>
+<p>{(bar, $effect.tracking())}</p>
+<p>{untrack(() => (bar, $effect.tracking()))}</p>
0 commit comments