Skip to content

Commit 5937ee4

Browse files
committed
docs: Reference svelte/reactivity from $state.
1 parent 3f0b41b commit 5937ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Objects and arrays are made deeply reactive by wrapping them with [`Proxies`](ht
6060
<button onclick={() => (entries[1].text = 'baz')}>change second entry text</button>
6161
```
6262

63-
> [!NOTE] Only POJOs (plain old JavaScript objects) are made deeply reactive. Reactivity will stop at class boundaries and leave those alone
63+
> [!NOTE] Only POJOs (plain old JavaScript objects) are made deeply reactive. Reactivity will stop at class boundaries and leave those alone. For some built-ins like `Set` and `Map`, there are reactive implementations that can be imported from `svelte/reactivity`.
6464
6565
## `$state.raw`
6666

0 commit comments

Comments
 (0)