From ffc884d1fccbbd6d5cf903ae640743c2bf0bfd12 Mon Sep 17 00:00:00 2001 From: joakim Date: Tue, 17 Dec 2024 16:32:49 +0100 Subject: [PATCH] Link to migration guide from documentation --- documentation/docs/99-legacy/30-legacy-svelte-component.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/99-legacy/30-legacy-svelte-component.md b/documentation/docs/99-legacy/30-legacy-svelte-component.md index 5d385a9c0278..3da2e3350e3f 100644 --- a/documentation/docs/99-legacy/30-legacy-svelte-component.md +++ b/documentation/docs/99-legacy/30-legacy-svelte-component.md @@ -2,7 +2,7 @@ title: --- -In runes mode, `` will re-render if the value of `MyComponent` changes. +In runes mode, `` will re-render if the value of `MyComponent` changes. See the [Svelte 5 migration guide](/docs/svelte/v5-migration-guide#Breaking-changes-in-runes-mode-svelte:component-is-no-longer-necessary) for an example. In legacy mode, it won't — we must use ``, which destroys and recreates the component instance when the value of its `this` expression changes: