From 828502a47585286f80cb859a0089f5b036987b0e Mon Sep 17 00:00:00 2001 From: stephane-vanraes Date: Fri, 25 Oct 2024 09:01:48 +0200 Subject: [PATCH 1/2] clarify why we need to use the derived rune --- documentation/docs/02-runes/03-$derived.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/documentation/docs/02-runes/03-$derived.md b/documentation/docs/02-runes/03-$derived.md index 4f0d70dcc8c8..036f8c7edd20 100644 --- a/documentation/docs/02-runes/03-$derived.md +++ b/documentation/docs/02-runes/03-$derived.md @@ -2,7 +2,19 @@ title: $derived --- -Derived state is declared with the `$derived` rune: + +Svelte's ` +``` + +We can make any variable based on others reactive by declaring them a Derived state using the `$derived` rune: ```svelte -``` - -We can make any variable based on others reactive by declaring them a Derived state using the `$derived` rune: +Derived state is declared with the `$derived` rune: ```svelte