Vue.js interview questions

Reactivity, ref vs reactive, computed vs watch, Composition API, Pinia and common reactivity pitfalls.

Readiness: 0 of 10 nailed

How to use this page: 1. Read a question2. Type your answer3. Check with AI4. Open the model answer5. Timed drill when you’re 70% ready

Reactivity

JuniorConcept

What is the difference between ref and reactive?

JuniorConcept

When do you use computed vs watch?

Components

JuniorIt’s broken: why?

Vue warns “Avoid mutating a prop directly.” Why, and what’s the fix?

FoundationConcept

Name Vue’s main lifecycle hooks.

JuniorConcept

How does v-model work on a custom component?

State

Mid-levelConcept

What is Pinia and when do you need it?

Mid-levelConcept

What are provide and inject?

Templates

FoundationConcept

v-if vs v-show?

JuniorIt’s broken: why?

Why do list items show the wrong data after reordering in v-for?

Ecosystem

Mid-levelConcept

What does Nuxt add on top of Vue?

Also prepare