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 1c781a3 commit af017daCopy full SHA for af017da
sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md
@@ -278,6 +278,12 @@ is the current value. The second is either `"init"` or `"update"`.
278
<button onclick={() => count++}>Increment</button>
279
```
280
281
+A convenient way to find the origin of some change is to pass `console.trace` as the second argument:
282
+
283
+```js
284
+$inspect(stuff, console.trace);
285
+```
286
287
> `$inspect` only works during development.
288
289
## How to opt in
0 commit comments