From 4d934a51d69a759b784fbb5e0a7e81953822af42 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Sat, 16 Dec 2023 07:27:28 -0800 Subject: [PATCH] Update 02-runes.md --- .../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 a5e288cde4..0849e90bd3 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 @@ -138,7 +138,7 @@ To run code whenever specific values change, or when a component is mounted to t ### What this replaces -The portions of `$: {}` that are triggering side-effects can be replaced with `$effect` while being careful to migrate value computations to `$derived`. There are some important differences: +The portions of `$: {}` that are triggering side-effects can be replaced with `$effect` while being careful to migrate updates of reactive variables to use `$derived`. There are some important differences: - Effects only run in the browser, not during server-side rendering - They run after the DOM has been updated, whereas `$:` statements run immediately _before_