(1/25) How do you define a custom directive that only needs to run code when the bound element is inserted into the DOM in Vue 3?


(2/25) Which directive would you use to add dynamic styles to an element in Vue 3 templates?


(3/25) Which directive do you use if you want to conditionally render a block that physically adds/removes elements in the DOM in Vue 3?


(4/25) What’s a key benefit of using the Composition API in a large Vue 3 project?


(5/25) Which statement about watchers for dynamic route params in Vue 3 using the Composition API is correct?


(6/25) Which property in a Vue 3 Single File Component allows you to scope CSS to that specific component only?


(7/25) How do you define watchers for route changes if you are using the Options API in Vue 3?


(8/25) Which statement describes how the 'globalProperties' feature works in Vue 3?


(9/25) What does the keep-alive component in Vue 3 do for dynamic components or components rendered via v-if?


(10/25) Which Composition API function might you use if you only need to watch a single ref, ignoring all other reactivity?


(11/25) Which directive do you use to attach a click event on an element in a Vue 3 template?


(12/25) Which directive do you use if you need to bind the value of a text input in a template for two-way data binding, e.g. <input type="text" ...> in Vue 3?


(13/25) Which statement regarding fragments in Vue 3 is TRUE?


(14/25) Which file typically contains the root Vue instance (or app) in a standard Vue CLI project?


(15/25) Which directive in Vue 3 do you use to manually set HTML content, bypassing Vue’s mustache syntax and potential sanitization concerns?


(16/25) Which statement about using a type property (prop: { type: Something }) is correct in Vue 3 with JavaScript (no TypeScript)?


(17/25) In Vue 3, what does the toRaw() function do?


(18/25) In Vue 3, if you must run a piece of code every time a certain set of reactive variables change, which approach is better: watch() or computed()?


(19/25) Which directive is used for two-way data binding with standard HTML inputs in Vue 3?


(20/25) Which Vue 3 concept is used to define logic or data that should be reused across multiple components, often exported as a plain function?


(21/25) If you have a reactive object user in Vue 3, and you want to create a separate ref that points to user.name, which function do you use?


(22/25) Which advantage does Pinia have over Vuex 3/4 in a Vue 3 application?


(23/25) Which method from the Vue Router instance in Vue 3 can replace the current history entry without creating a new one?


(24/25) When defining a Pinia store in Vue 3, which section is typically used to define reactive state variables?


(25/25) Which function in Vue 3 can transform a single property from a reactive object into a separate ref?