Sector file // vuejs
VUE.JSDECODED.
Reactivity & composition API
Easy
3 questionsWhat are props in Vue and how do you validate them?
Frontend · 1.0k views · vue, props, components
How do defineProps and defineEmits work in <script setup>?
Frontend · 684 views · script-setup, props
What is a Single File Component (SFC)?
Frontend · 571 views · sfc, components
Medium
20 questionsWhat do defineOptions() and defineSlots() do in <script setup>?
Frontend · 1.1k views · defineOptions, defineSlots, macros
How do dynamic routes and route params work in Vue Router?
Frontend · 1.0k views · router, params
What are provide and inject?
Frontend · 937 views · provide, inject
How do you use TypeScript with Vue (typed props, emits, refs, vue-tsc)?
Frontend · 689 views · vue, typescript, vue-tsc
What is defineExpose?
Frontend · 675 views · defineexpose
What is defineExpose() and why are <script setup> components closed by default?
Frontend · 501 views · defineExpose, template-refs, script-setup
How do you add global properties or config?
Frontend · 485 views · global-properties
How do Vue components communicate?
Frontend · 477 views · props, events
Hard
4 questionsHow do generic <script setup> components work (generic="T")?
Frontend · 885 views · generics, typescript, script-setup
What is async setup and top-level await?
Frontend · 853 views · async, setup
How does the Vue compiler optimize templates (static hoisting, patch flags, block tree)?
Frontend · 411 views · vue, compiler, internals
What is lazy hydration in Vue 3.5 — hydrate strategies (idle, visible, interaction)?
Frontend · 264 views · lazy-hydration, ssr, performance
Seen a Vue.js question that is not here? Add it and help the next candidate.
Share a question