Skip to content

Commit fe21a79

Browse files
authored
fix broken links (#11145)
1 parent 70ddaf4 commit fe21a79

File tree

1 file changed

+3
-3
lines changed
  • sites/svelte-5-preview/src/routes/docs/content/01-api

1 file changed

+3
-3
lines changed

sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ To run side-effects like logging or analytics whenever some specific values chan
222222
<p>{count} doubled is {doubled}</p>
223223
```
224224

225-
An effect only reruns when the object it reads changes, not when a property inside it changes. If you want to react to _any_ change inside an object for inspection purposes at dev time, you may want to use [`inspect`](#inspect).
225+
An effect only reruns when the object it reads changes, not when a property inside it changes. If you want to react to _any_ change inside an object for inspection purposes at dev time, you may want to use [`inspect`](#$inspect).
226226

227227
```svelte
228228
<script>
@@ -408,7 +408,7 @@ In rare cases, you may need to run code _before_ the DOM updates. For this we ca
408408
</div>
409409
```
410410

411-
Apart from the timing, `$effect.pre` works exactly like [`$effect`](#effect) — refer to its documentation for more info.
411+
Apart from the timing, `$effect.pre` works exactly like [`$effect`](#$effect) — refer to its documentation for more info.
412412

413413
### What this replaces
414414

@@ -490,7 +490,7 @@ let { a, b, c, ...everythingElse }: MyProps = $props();
490490
>
491491
> ...TypeScript [widens the type](https://www.typescriptlang.org/play?#code/CYUwxgNghgTiAEAzArgOzAFwJYHtXwBIAHGHIgZwB4AVeAXnilQE8A+ACgEoAueagbgBQgiCAzwA3vAAe9eABYATPAC+c4qQqUp03uQwwsqAOaqOnIfCsB6a-AB6AfiA) of `x` to be `string | number`, instead of erroring.
492492
493-
By default props are treated as readonly, meaning reassignments will not propagate upwards and mutations will result in a warning at runtime in development mode. You will also get a runtime error when trying to `bind:` to a readonly prop in a parent component. To declare props as bindable, use [`$bindable()`](#bindable).
493+
By default props are treated as readonly, meaning reassignments will not propagate upwards and mutations will result in a warning at runtime in development mode. You will also get a runtime error when trying to `bind:` to a readonly prop in a parent component. To declare props as bindable, use [`$bindable()`](#$bindable).
494494
495495
### What this replaces
496496

0 commit comments

Comments
 (0)