Skip to content

Commit 73922ea

Browse files
Sync svelte docs (#1389)
sync svelte docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent 602f6da commit 73922ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/svelte.dev/content/docs/svelte/98-reference/.generated/client-errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Cannot set prototype of `$state` object
125125
### state_unsafe_mutation
126126

127127
```
128-
Updating state inside a derived or a template expression is forbidden. If the value should not be reactive, declare it without `$state`
128+
Updating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`
129129
```
130130

131131
This error occurs when state is updated while evaluating a `$derived`. You might encounter it while trying to 'derive' two pieces of state in one go:

apps/svelte.dev/content/docs/svelte/98-reference/30-runtime-errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Cannot set prototype of `$state` object
132132
### state_unsafe_mutation
133133

134134
```
135-
Updating state inside a derived or a template expression is forbidden. If the value should not be reactive, declare it without `$state`
135+
Updating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`
136136
```
137137

138138
This error occurs when state is updated while evaluating a `$derived`. You might encounter it while trying to 'derive' two pieces of state in one go:

0 commit comments

Comments
 (0)