← All interview questions

Skill Zuno · skillzunos.com · Fullstack

Vue interview questions

Prepare for Vue interviews on Skill Zuno. This practice book covers Vue interview questions across New, Easy, Medium, Hard, and Diff levels so you can work through real interview-style problems on skillzunos.com.

Open Vue on Skill Zuno

Also see the Vue tutorial.

Vue is a progressive JavaScript framework for building user interfaces. Its reactivity system tracks dependencies automatically, and single-file components keep template, script and style together. Vue interviews cover the Composition and Options APIs, reactivity with ref and reactive, computed and watch, components, Pinia and Vue Router.

Sample Vue interview questions

What is the difference between ref and reactive?

ref wraps any value, including primitives, and is read through .value in script. reactive makes an object deeply reactive but cannot hold a primitive, and destructuring it loses reactivity unless you use toRefs.

What is the difference between computed and watch?

computed derives a cached value from reactive state and recalculates only when its dependencies change. watch runs a side effect, such as an API call, when a specific source changes.

How does v-model work on a component?

On a component, v-model passes a modelValue prop and listens for an update:modelValue event. In Vue 3.4 and later, defineModel() sets up both in one line.

Why do v-for items need a key?

The key lets Vue track each item's identity, so it reorders existing DOM nodes and keeps component state with the right item instead of patching nodes in place.

How does Vue 3's reactivity work?

Vue 3 wraps objects in JavaScript Proxies. Reading a property inside an effect records a dependency, and setting it triggers the effects that read it, including component re-renders.

What you can practice

  • Vue interview questions for beginners and experienced developers
  • Level-based practice: New, Easy, Medium, Hard, and Diff
  • Fullstack topics alongside Vue on skillzunos.com

More Fullstack interview questions

All interview questions