Vue · Senior · Question 32 of 75

Which Vue 2 patterns must be replaced when migrating to Vue 3?

Explanation

Other changes: component v-model uses modelValue/update:modelValue, $listeners merged into $attrs, and multiple root nodes are allowed. Vue 2 reached end of life at the end of 2023.

Further reading

Problem with a question

Vue · Senior · question 32

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