Skip to content

Commit 9a37a6e

Browse files
authored
Update 02-$state.md
1 parent bbc8106 commit 9a37a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/02-runes/02-$state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Unlike other frameworks you may have encountered, there is no API for interactin
2020

2121
If `$state` is used with an array or a simple object, the result is a deeply reactive _state proxy_. [Proxies](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) allow Svelte to run code when you read or write properties, including via methods like `array.push(...)`, triggering granular updates.
2222

23-
> [!NOTE] Classes will not be proxied. They need to be explicitly [implemented](./$state#Classes) with reactivity in mind. Svelte provides a reactive version of common built-ins which can be imported from [`svelte/reactivity`](./svelte-reactivity).
23+
> [!NOTE] Classes will not be proxied. They need to be explicitly [implemented](./$state#Classes) with reactivity in mind. Svelte provides reactive implementations for various built-ins that can be imported from [`svelte/reactivity`](./svelte-reactivity).
2424
2525
State is proxified recursively until Svelte finds something other than an array or simple object. In a case like this...
2626

0 commit comments

Comments
 (0)