Svelte · Senior · Question 2 of 75

Why did Svelte 5 move from compiler-instrumented let reactivity to runes?

Explanation

With $: statements dependencies were determined statically and only at compile time; runes track them at runtime, including through function calls.

Further reading

Problem with a question

Svelte · Senior · question 2

Test yourself

Take the Svelte · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz