Vue · Senior · Question 26 of 75

How is Pinia state transferred from the server to the client?

Explanation

Serialization must be safe against XSS (e.g. devalue). Nuxt's Pinia module does this automatically. Non-serializable values (class instances, functions) don't survive.

Further reading

Problem with a question

Vue · Senior · question 26

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