(1/45) If you define a teleported modal in Vue 3, how can you ensure it still references data from its parent component in code, even though the DOM is moved?


(2/45) Which statement about dynamic imports in Vue 3 is TRUE?


(3/45) When referencing a DOM element with a template ref in Vue 3 Composition API, how do you access it in onMounted?


(4/45) How do you define watchers for route changes in an Options API component if you only want them to run after navigation (not on mount), in Vue 3?


(5/45) Which statement accurately describes how watchers in Vue 3 differ from watchers in Vue 2 for array mutations?


(6/45) In a Vue 3 Single File Component, how can you define a template block that only renders if a certain variable is true, but doesn’t consume any extra wrapper element?


(7/45) Which statement accurately describes the difference between onMounted and onBeforeMount in a Vue 3 component?


(8/45) Which directive do you use if you want to dynamically switch an element’s text color, e.g., <p v-bind:style="{ color: dynamicColor }"> in Vue 3?


(9/45) Which approach in Vue 3 helps you reuse code that references reactive data across multiple components without using mixins?


(10/45) When referencing $attrs in Vue 3 Composition API, how do you retrieve it in setup() if you set inheritAttrs: false?


(11/45) When might you define a route meta field in Vue Router 4 for a Vue 3 application?


(12/45) Which Vue 3 feature is described as a system to group multiple effects together so you can control or stop them all at once?


(13/45) When using Vue 3, how do you execute code after the component’s DOM has been rendered for the first time?


(14/45) Which statement correctly describes how to add a custom directive locally to a single component in Vue 3 using the Options API?


(15/45) Which statement about using multiple v-if/v-else-if conditions in a Vue 3 template is correct?


(16/45) Which statement about onUnmounted vs. onBeforeUnmount is correct in Vue 3?


(17/45) If you want a watcher to run on both mount and subsequent changes, which watcher option should you use in Vue 3?


(18/45) Which method of a Pinia store in Vue 3 is typically used to change state in a more structured manner, similar to Vuex mutations?


(19/45) When referencing a typed ref in Vue 3, how do you handle the fact that it might be null before the component is mounted?


(20/45) Which approach might you use to debug complex reactivity flows in a Vue 3 application?


(21/45) Which directive might you use if you want to apply multiple classes to an element only if a certain condition is true, and remove them otherwise in Vue 3?


(22/45) Which Vue 3 directive might you use if you want to set the raw HTML content of a <div> from a property named rawHtml?


(23/45) If you need to pass a function from a parent component to a child, how would you typically do it in Vue 3?


(24/45) In Vue 3, which function is typically used to define a store in Pinia as an alternative to Vuex?


(25/45) If you want to detach a child component’s style from the parent’s global CSS in Vue 3, which approach could you use?


(26/45) How does Vue 3 treat performance warnings in development mode?


(27/45) What is the primary reason for adding 'key' attributes on elements in a v-for loop in Vue 3?


(28/45) What is the main purpose of the setup() function in the Composition API?


(29/45) Why might you choose watch() over watchEffect() if you have a single ref source in Vue 3 but need to compare old and new values?


(30/45) Which statement about v-show vs. v-if is correct in Vue 3?


(31/45) If you have a parent and child component, and the child modifies an object prop directly, why might that be discouraged in Vue 3?


(32/45) What is a primary reason to choose script setup over a standard <script> block in Vue 3 Single File Components?


(33/45) Which statement about script setup’s 'defineEmits()' macro in Vue 3 is TRUE?


(34/45) Which statement about watchers referencing an entire object is accurate if you do watch(() => bigObjectRef.value, callback) in Vue 3?


(35/45) Which statement about watchers for array mutation in Vue 3 is correct if you only watch the array reference?


(36/45) In Vue 3, which lifecycle hook is typically used to gracefully handle side effects after the component is fully rendered to the DOM for the first time?


(37/45) Which statement about using defineProps() and defineEmits() in a <script setup> block is correct?


(38/45) What is the typical method used to create a Vue instance in Vue 3?


(39/45) Which plugin or library is recommended by the Vue team for advanced form validation in Vue 3?


(40/45) How do you set the name of a component for DevTools inspection if you are writing a plain <script> block (not <script setup>) in Vue 3 with the Composition API?


(41/45) Which command is typically used to run unit tests in a Vue 3 project scaffolded by the Vue CLI (with Jest testing)?


(42/45) Which Composition API function can you use to define a reactive integer that triggers UI updates when changed in Vue 3?


(43/45) Which special directive might you use to prevent re-rendering an element in Vue 3 after its initial render?


(44/45) Which method would you call to navigate back in history with Vue Router 4 from a Composition API component in Vue 3?


(45/45) Which function in the Composition API returns a 'getter/setter' pair that calculates a derived state from other reactive data?