(1/40) In Vue 3, how do you register a global custom directive so it’s available to all components?


(2/40) If you see a warning in Vue 3 about 'Avoid mutating a prop directly', what is the recommended fix?


(3/40) What is the usual difference in memory usage and performance when using multiple small components vs. one large monolithic component in Vue 3?


(4/40) When you define a custom directive globally with app.directive in Vue 3, which hook is used to handle DOM changes after the element’s parent component updates?


(5/40) When using Suspense in Vue 3, what does the fallback slot represent?


(6/40) What is one suggested best practice for watchers in Vue 3 to avoid excessive or redundant calls?


(7/40) When migrating from Vue 2, which feature in Vue 3 replaced the need for the .sync modifier on props for two-way binding?


(8/40) Which approach might you take if you want to watch a property that’s in a nested store object, but only top-level changes, ignoring deeper changes, in Vue 3?


(9/40) Which statement about 'slots as functions' (a.k.a. scoped slots) in Vue 3 is correct?


(10/40) Which of the following statements about the 'provide' option in the Options API is correct for Vue 3?


(11/40) What is the difference between defineAsyncComponent and dynamic imports in the Vue Router for lazy loading?


(12/40) Which approach might you use to implement a 'debounce' or 'throttle' behavior on a watcher in Vue 3 to limit how frequently it triggers?


(13/40) Which statement about provide/inject in Vue 3 is correct?


(14/40) If you have a large-scale application with many shared states across modules, what is the official recommendation from the Vue team in Vue 3?


(15/40) If you want to import a large third-party library only when a specific component is displayed, which Vue 3 feature helps with that?


(16/40) Which statement describes how to integrate an external library that modifies the DOM (e.g. a jQuery plugin) in Vue 3?


(17/40) How can you prevent users from navigating to a new route if certain conditions are not met in Vue Router?


(18/40) Which feature in Vue 3 eliminates the need to name components in <script setup> for usage inside the template?


(19/40) What is the difference between watchEffect and watchPostEffect in Vue 3?


(20/40) Which statement about watchers in Vue 3 is true?


(21/40) Which statement about the flush timing in watchers is TRUE for Vue 3?


(22/40) If you want to watch a reactive array in Vue 3 and always get the new and old array values in the callback, which code snippet is correct?


(23/40) In Vue 3, what is one difference between <script setup> and the classic <script> block with export default?


(24/40) Why might you define a route with a path like '/:pathMatch(.*)*' in a Vue Router 4 config for Vue 3?


(25/40) How can you define a typed composable that returns reactive references in Vue 3 with TypeScript?


(26/40) How do you create a global mixin in a Vue 3 project?


(27/40) In Vue 3, how can you declare multiple root elements in a single component?


(28/40) How can you preserve state when toggling multiple components with the same <component :is="var" /> in Vue 3?


(29/40) If you need to define dynamic keys for an object in the template, which Vue 3 directive syntax is typically used?


(30/40) Which statement about watchers with the immediate option in Vue 3 is TRUE?


(31/40) What is one benefit of using the 'compiler-sfc' package in Vue 3?


(32/40) Which statement about watching a ref array in Vue 3 is correct?


(33/40) How do watchers in Vue 3 handle concurrency if you define watch(() => route.query.search, (newVal, oldVal, onInvalidate) => { ... }) for a search param?


(34/40) Which statement describes what happens if you define both a method and a computed property with the same name in the Options API of Vue 3?


(35/40) Which Vue 3 function can wrap a method or property so that it remains entirely out of reactivity tracking, often used for large data or external libraries?


(36/40) In a Vue 3 project with TS, how do you strongly type a ref that starts with a null value but will later store an HTML element (e.g., for a template ref)?


(37/40) If you need to detect when the route changes in a component using the Composition API (e.g., to run certain code on route param changes), what approach can you take?


(38/40) How does Vue 3 handle events in a <TransitionGroup> when items are inserted or removed?


(39/40) How can you create a dynamic asynchronous child route in Vue Router 4 for Vue 3?


(40/40) How can you define typed emits in a Vue 3 Single File Component with <script setup lang="ts"> if you want the event to have a payload?