Svelte · Senior · Question 9 of 75

What does $effect.tracking() return?

Explanation

Reading a value outside tracking context can't subscribe, so a library may return a snapshot instead.

Further reading

Problem with a question

Svelte · Senior · question 9

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