Vue · Senior · Question 63 of 75

Why add acceptHMRUpdate to Pinia store files?

Explanation

Without it, Vite falls back to a full reload when the store module changes.

Further reading

Problem with a question

Vue · Senior · question 63

Test yourself

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

Take this quiz