(1/40) When dealing with TypeScript in Vue 3 Single File Components, which macro helps you define the events a component can emit?


(2/40) What is the recommended way to handle i18n (internationalization) in a Vue 3 application?


(3/40) When you define a composable function in Vue 3, how do you ensure watchers defined inside it stop when the consuming component unmounts?


(4/40) When might you consider using a shallowReactive object in Vue 3 instead of reactive?


(5/40) How do you define watchers in an Options API component if you want to watch an object property on 'user.info', ignoring deeper nested changes in 'user.info.address' in Vue 3?


(6/40) Which of the following statements about using watchers for arrays in Vue 3 is correct?


(7/40) Which statement best explains how watchers in a composable function get cleaned up upon component unmount in Vue 3?


(8/40) Why would you use 'vite' instead of the Vue CLI for building a Vue 3 project?


(9/40) How do you define watchers in a Vue 3 SFC if you only want them to run in the client, not during SSR?


(10/40) Which statement is TRUE about watchers in a Teleport child if the parent teleports that child to another part of the DOM in Vue 3?


(11/40) Which of the following is a valid reason to use watch() over watchEffect() in Vue 3?


(12/40) Which best describes how you define a typed array prop in a Vue 3 SFC with <script setup lang="ts"> using defineProps?


(13/40) How can you test whether a directive is working correctly in a Vue 3 component using @vue/test-utils?


(14/40) What is the difference between watchers created by watch() and watchers created by watchEffect() when it comes to 'lazy' behavior?


(15/40) How do you define watchers if you only want them to run on route query changes, ignoring route param changes, in Vue 3?


(16/40) In Vue 3, how do you lazily load a component in the template if you do not want to rely on route-based dynamic imports?


(17/40) In a Vue 3 app, how do you create a code splitting boundary for only certain large components if you are NOT using Vue Router?


(18/40) When using the Composition API, what is the main difference between a watch() and a watchEffect() call regarding dependency detection?


(19/40) How can you share a single reactive state across multiple components in Vue 3 without using Vuex or Pinia?


(20/40) In a Vue 3 project, how do you create a code-splitting boundary for a large component to be lazily-loaded when the user navigates to a route?


(21/40) How can you explicitly define that a Vue 3 Single File Component is using the Composition API (Options API is not used)?


(22/40) Which statement is TRUE about using TypeScript with the Vue 3 Composition API (non-script setup)?


(23/40) Which approach might you take if you want typed route-based code splitting in Vue 3 with TypeScript, ensuring each lazy component is typed?


(24/40) If you have a component that toggles between multiple sub-components using a dynamic <component :is="...">, how can you preserve each sub-component's state?


(25/40) When you wrap the <router-view> in <transition> for route transitions in Vue 3, what do you need to remember regarding dynamic transitions for different routes?


(26/40) If you see a Vue warning about 'Avoid mutating a prop directly since the value will be overwritten', which scenario could cause this?


(27/40) Which Vue 3 feature allows you to watch changes in multiple refs within a single callback, without specifying dependencies manually?


(28/40) What is the purpose of the 'inheritAttrs' option in a Vue 3 component?


(29/40) Which Composition API method in Vue 3 is used to detect errors thrown by child components, akin to errorCaptured in Vue 2?


(30/40) How do you define a Composition API function so that it returns a fresh instance of reactive data each time it’s used in a new component, not shared by all components?


(31/40) Which directive do you use if you want a child component to inherit a parent’s CSS classes when not declared as props, letting them pass through automatically in Vue 3?


(32/40) How can you explicitly expose methods or properties from a Vue 3 child component to the parent when using <script setup>?


(33/40) How do watchers in Vue 3 handle concurrency if you define watchEffect for a large set of reactive properties, but you only want to do something for certain changes?


(34/40) Which approach do you use to define multiple route views at the same path, for instance a main view and a sidebar view, in Vue 3 Router?


(35/40) Which statement about onErrorCaptured in Vue 3 is correct?


(36/40) What happens if you use an arrow function instead of a normal function for lifecycle hooks in the Options API (e.g., created: () => {...})?


(37/40) What is one advantage of using the 'shallowRef()' function for performance in Vue 3?


(38/40) Why would you choose <script setup> syntax in Vue 3 over the traditional script block with export default?


(39/40) How can you define multiple v-model bindings within the same child component in Vue 3?


(40/40) Which approach might you use to avoid watchers in a large form if you only need to compute a derived value from multiple fields in Vue 3?