Svelte · Senior · Question 45 of 75
How can you migrate a large Svelte 4 app to Svelte 5 gradually?
- ✓Correct answer: Components without runes run in legacy mode, so you can migrate file by file; runes-mode and legacy components can be mixed
- 2All components must be migrated at once
- 3Svelte 5 can't run Svelte 4 components
Explanation
A component switches to runes mode as soon as it uses a rune, or with <svelte:options runes />.