Back to Prep Library
Category Blueprint

Vue.js Interview Library

Reactivity engines & the composition framework

Questions50
Views33.5k
Upvotes2.0k
Filter

Question Catalog

(50 visible)
Vue.js· Frontend

What is Vue.js and what are its core features?

1.1k32
easy
Vue.js· Frontend

What is v-html and what is the risk of using it?

1.0k40
easy
Vue.js· Frontend

What are Vue directives? Give common examples.

93153
easy
Vue.js· Frontend

What are dynamic arguments and v-bind shorthand?

90417
easy
Vue.js· Frontend

How do you bind classes and styles dynamically?

74820
easy
Vue.js· Frontend

How do defineProps and defineEmits work in <script setup>?

68435
easy
Vue.js· Frontend

What are scoped styles in Vue?

64972
easy
Vue.js· Frontend

What is a Single File Component (SFC)?

57159
easy
Vue.js· Frontend

What is the difference between v-if and v-show?

37375
easy
Vue.js· Frontend

What are v-model modifiers?

20270
easy
Vue.js· Frontend

How does Vue's reactivity system work?

1.2k38
medium
Vue.js· Frontend

What is the difference between watch and watchEffect?

1.1k76
medium
Vue.js· Frontend

How do Transition and TransitionGroup work?

1.1k15
medium
Vue.js· Frontend

What is the difference between ref and reactive?

1.1k43
medium
Vue.js· Frontend

How do you make provide/inject type-safe?

1.1k26
medium
Vue.js· Frontend

How do dynamic routes and route params work in Vue Router?

1.0k77
medium
Vue.js· Frontend

What is a Vue plugin?

1.0k35
medium
Vue.js· Frontend

Why declare emits and can you validate them?

9776
medium
Vue.js· Frontend

What are provide and inject?

93719
medium
Vue.js· Frontend

How does v-model work on components?

89933
medium
Vue.js· Frontend

Can a computed property be writable?

83328
medium
Vue.js· Frontend

What are Vue Router navigation guards?

80978
medium
Vue.js· Frontend

How do you access a DOM element or child component instance?

72057
medium
Vue.js· Frontend

What is defineExpose?

6746
medium
Vue.js· Frontend

What is the difference between computed and watch?

59432
medium
Vue.js· Frontend

What is keep-alive in Vue?

57673
medium
Vue.js· Frontend

How do you add global properties or config?

48527
medium
Vue.js· Frontend

How do Vue components communicate?

47729
medium
Vue.js· Frontend

What is Teleport in Vue 3?

47670
medium
Vue.js· Frontend

What are slots in Vue?

45723
medium
Vue.js· Frontend

How do you create a custom directive in Vue?

39317
medium
Vue.js· Frontend

What are composables in Vue?

3916
medium
Vue.js· Frontend

What is Pinia and why use it?

37916
medium
Vue.js· Frontend

What does readonly do in Vue's reactivity?

36232
medium
Vue.js· Frontend

What do toRef and toRefs do?

3468
medium
Vue.js· Frontend

What is the Composition API and how does it differ from the Options API?

18259
medium
Vue.js· Frontend

What are Vue lifecycle hooks?

12060
medium
Vue.js· Frontend

How do dynamic components work?

751
medium
Vue.js· Frontend

What are v-once and v-memo?

1.2k80
hard
Vue.js· Frontend

Why use storeToRefs with Pinia?

1.0k12
hard
Vue.js· Frontend

What is effectScope?

99829
hard
Vue.js· Frontend

What is async setup and top-level await?

85380
hard
Vue.js· Frontend

What is Suspense in Vue?

84259
hard
Vue.js· Frontend

What do markRaw and toRaw do?

7439
hard
Vue.js· Frontend

Why are composables preferred over mixins?

51668
hard
Vue.js· Frontend

What are shallowRef and shallowReactive?

4698
hard
Vue.js· Frontend

What are fallthrough attributes ($attrs)?

39372
hard
Vue.js· Frontend

What are common reactivity caveats in Vue?

30112
hard
Vue.js· Frontend

What is nextTick in Vue?

12870
hard
Vue.js· Frontend

Why is the :key attribute important in v-for?

11147
hard

Difficulty Distribution

Easy10 (20%)
Medium28 (56%)
Hard12 (24%)

Tested Topics

#directives#props#v-model#reactivity#watch#provide#router#computed

Study Guide

Understand Vue 3 reactivity tracking (Proxy handlers), Composition API patterns, Pinia stores state management, and server-side rendering strategies.