Vue · Senior · Question 69 of 75

Why is a global app.provide() often better than globalProperties for app-wide services?

Explanation

globalProperties are implicit this additions mostly suited to the Options API.

Further reading

Problem with a question

Vue · Senior · question 69

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