Sector file // vuejs
VUE.JSDECODED.
Reactivity & composition API
Easy
6 questionsWhat are props in Vue and how do you validate them?
Frontend · 1.0k views · vue, props, components
What are Vue directives? Give common examples.
Frontend · 931 views · directives
What changed from Vue 2 to Vue 3, and what does Vue 2 end of life mean?
Frontend · 832 views · vue, vue3, migration
How do defineProps and defineEmits work in <script setup>?
Frontend · 684 views · script-setup, props
How do you create a new Vue 3 app, and what is in the project structure?
Frontend · 650 views · vue, setup, vite
What is a Single File Component (SFC)?
Frontend · 571 views · sfc, components
Medium
29 questionsHow do <Transition>, <KeepAlive> and <Suspense> compose in Vue 3?
Frontend · 1.1k views · transition, keepalive, suspense
What is the difference between ref and reactive?
Frontend · 1.1k views · ref, reactive
Pinia colocation in 2025 — how do you colocate stores with routes/components?
Frontend · 1.1k views · pinia, state, colocation
What do defineOptions() and defineSlots() do in <script setup>?
Frontend · 1.1k views · defineOptions, defineSlots, macros
How does <Suspense> work in Vue 3.5 after the 2024 stabilization?
Frontend · 1.1k views · suspense, async, vue-3.5
How do you make provide/inject type-safe?
Frontend · 1.1k views · provide, typed
Why use storeToRefs with Pinia?
Frontend · 1.0k views · pinia, storetorefs
What is a Vue plugin?
Frontend · 1.0k views · plugins
Hard
10 questionsWhat is Vapor mode in Vue 3.5+ and how does it differ from the virtual DOM?
Frontend · 1.1k views · vapor, performance, vue-3.5
How do generic <script setup> components work (generic="T")?
Frontend · 885 views · generics, typescript, script-setup
When should you choose Vapor over VDOM in a real app — trade-offs?
Frontend · 875 views · vapor, compiler, hydration
What is async setup and top-level await?
Frontend · 853 views · async, setup
What is Suspense in Vue?
Frontend · 842 views · suspense, async
How do you render very large lists efficiently in Vue (virtual scrolling)?
Frontend · 777 views · vue, performance, virtual-scrolling
How would you structure state management for a large Vue app?
Frontend · 690 views · vue, state-management, pinia
What are common reactivity caveats in Vue?
Frontend · 301 views · reactivity-caveats
Seen a Vue.js question that is not here? Add it and help the next candidate.
Share a question