Vue · Middle · Question 66 of 75

Does a setup store have $reset() like an option store?

Explanation

Pinia can't know the initial state of arbitrary refs in a setup function, so it can't generate $reset.

Further reading

Problem with a question

Vue · Middle · question 66

Test yourself

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

Take this quiz