Vue · Senior · Question 56 of 75

What is onServerPrefetch for?

Explanation

The server waits for the returned promise before rendering. The data must then be serialized to avoid refetching on the client.

Further reading

Problem with a question

Vue · Senior · question 56

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