Skip to content

Commit 2e8a205

Browse files
authored
chore: remove outdated comment (#12632)
1 parent 04a211e commit 2e8a205

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

documentation/docs/03-runes/01-state.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ To take a static snapshot of a deeply reactive `$state` proxy, use `$state.snaps
111111

112112
This is handy when you want to pass some state to an external library or API that doesn't expect a proxy, such as `structuredClone`.
113113

114-
> Note that `$state.snapshot` will clone the data when removing reactivity. If the value passed isn't a `$state` proxy, it will be returned as-is.
115-
116114
## `$state.is`
117115

118116
Sometimes you might need to compare two values, one of which is a reactive `$state(...)` proxy but the other is not. For this you can use `$state.is(a, b)`:

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ To take a static snapshot of a deeply reactive `$state` proxy, use `$state.snaps
110110

111111
This is handy when you want to pass some state to an external library or API that doesn't expect a proxy, such as `structuredClone`.
112112

113-
> Note that `$state.snapshot` will clone the data when removing reactivity. If the value passed isn't a `$state` proxy, it will be returned as-is.
114-
115113
## `$state.is`
116114

117115
Sometimes you might need to compare two values, one of which is a reactive `$state(...)` proxy. For this you can use `$state.is(a, b)`:

0 commit comments

Comments
 (0)