From 3d67cd53dbee6079834e208de4f65861798a3131 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Tue, 5 Nov 2024 17:13:46 +0800 Subject: [PATCH] docs: fix migration guide typo (#14155) --- documentation/docs/07-misc/07-v5-migration-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/07-misc/07-v5-migration-guide.md b/documentation/docs/07-misc/07-v5-migration-guide.md index c7cdd36106..4ebfb5f905 100644 --- a/documentation/docs/07-misc/07-v5-migration-guide.md +++ b/documentation/docs/07-misc/07-v5-migration-guide.md @@ -36,7 +36,7 @@ In Svelte 4, a `$:` statement at the top level of a component could be used to d ``` -As with `$state`, nothing else changes. `double` is still the number itself, and you read it directly, without a wrapper like `.value` or `getCount()`. +As with `$state`, nothing else changes. `double` is still the number itself, and you read it directly, without a wrapper like `.value` or `getDouble()`. A `$:` statement could also be used to create side effects. In Svelte 5, this is achieved using the `$effect` rune: