Skip to content

Commit 8301abb

Browse files
Sync svelte docs (#1328)
sync svelte docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent 1cae75b commit 8301abb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/svelte.dev/content/docs/svelte/02-runes/07-$inspect.md

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ This rune, added in 5.14, causes the surrounding function to be _traced_ in deve
5353
import { doSomeWork } from './elsewhere';
5454
5555
$effect(() => {
56+
+++// $inspect.trace must be the first statement of a function body+++
5657
+++$inspect.trace();+++
5758
doSomeWork();
5859
});

0 commit comments

Comments
 (0)