From 34581f67b9c722797f375a1b41ae154bbfab444c Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Wed, 27 Dec 2023 07:22:05 +0000 Subject: [PATCH] Update sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> --- .../svelte-5-preview/src/routes/docs/content/01-api/02-runes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md b/sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md index 5e54fdb154..70a1cbb288 100644 --- a/sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md +++ b/sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md @@ -66,7 +66,7 @@ In non-runes mode, a `let` declaration is treated as reactive state if it is upd ## `$state.frozen` -State declared with `$state.frozen` cannot be mutated; it can only be _reassigned_. In other words, rather than assigning to a property of an object, or using an array method like `push`, replace the object or array altogether: +State declared with `$state.frozen` cannot be mutated; it can only be _reassigned_. In other words, rather than assigning to a property of an object, or using an array method like `push`, replace the object or array altogether if you'd like to update it: ```diff