Skip to content

Commit e1f3042

Browse files
committed
fix typo
1 parent 6814631 commit e1f3042

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ In non-runes mode, a `let` declaration is treated as reactive state if it is upd
6666

6767
## `$state.raw`
6868

69-
Similar to `$state`, `$state.raw` also is also declared and can be used in many of the same ways (including on classes). However, reactivity is _not_ applied deeply to properties of any objects or arrays used with `$state.raw`. So if you intend to use objects as state and you want to mutate their properties and have reactivity work by default, it's recommended you use `$state` instead.
69+
Similar to `$state`, `$state.raw` is also declared and can be used in many of the same ways (including on classes). However, reactivity is _not_ applied deeply to properties of any objects or arrays used with `$state.raw`. So if you intend to use objects as state and you want to mutate their properties and have reactivity work by default, it's recommended you use `$state` instead.
7070

7171
For the cases where you don't want Svelte's reactivity to apply deeply to state, and for those who might want to have more control over their data structures, you might find `$state.raw` useful. Furthermore, `$state.raw` is ideal for those who want to work with data using immutable patterns rather than mutable patterns.
7272

0 commit comments

Comments
 (0)