Skip to content

Commit 2f8b59d

Browse files
Sync svelte docs (#1034)
sync svelte docs Co-authored-by: Rich-Harris <[email protected]>
1 parent bddf9f6 commit 2f8b59d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/svelte.dev/content/docs/svelte/99-legacy/30-legacy-svelte-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ NOTE: do not edit this file, it is generated in apps/svelte.dev/scripts/sync-doc
33
title: <svelte:component>
44
---
55

6-
In runes mode, `<MyComponent>` will re-render if the value of `MyComponent` changes.
6+
In runes mode, `<MyComponent>` 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.
77

88
In legacy mode, it won't — we must use `<svelte:component>`, which destroys and recreates the component instance when the value of its `this` expression changes:
99

0 commit comments

Comments
 (0)