Svelte · Junior · Question 9 of 76
What are runes in Svelte 5?
- ✓Correct answer: Compiler keywords with a
$prefix ($state,$derived,$effect,$props…) that control reactivity - 2Functions you import from
svelte/runes - 3Special HTML attributes
Explanation
Runes look like functions but are part of the language: they aren't imported and can't be assigned to variables or passed around.