What are blackbox tests?
How are components typically structured?
In Vue 3, ______ are used for reactive objects and ______ are used for refs.
What are alternatives to the $emit()
method?
Question: What are some limitations of using custom elements compared to Vue components?
Where is routing done in Single Page Applications (SPAs)?
When is it recommended to begin writing tests?
What is the first thing to do when creating an app with Vue?
Vue is a JavaScript ______ for building user ______
What is Declarative Rendering?
What are components that only load from the server when they are needed known as?
How many <style>
blocks can a Single File Component (SFC) contain?
What does SSG stand for?
How can Single File Component (SFC) blocks declare pre-processor languages?
There are two ways to register components: ______ and ______.
How can you take advantage of the benefits of Single File Components (SFCs) while keeping templates, Javascript and styles in separate files?
What are the two built-in components that can help work with transitions and animations in response to changing state?
What app config property can be used for reporting errors to tracking services?
When loading Vue from CDNs, what is the suffix of the Vue files that are pre-minified and have development-only code branches removed?
What are the pros of runtime reactivity?
Does slot content have access to the state of the parent component?
If you want to have multiple slot outlets in a single component, what do you need to use?
To render a block, what type of value must the directive v-if
return?
What is the benefit of using Vue to build standard Web Components?
What are end-to-end tests?
Name a reason against global registration of a component!
What are the main benefits of Pinia compared to Vuex?
What type of values does the key
binding expect with v-for
?
It is a convention to name composable functions with ______ (case) names that start with ______
How does the use of keyframe animations in CSS enhance class-based animations in Vue?
How do you get the app to be rendered in the Dom?
In Vue, the framework controls both the compiler and the runtime. We call this hybrid approach ______.
Should component tests mock child components?
How do you pass template content to a child component?
What does SFC stand for?
Why might you choose to use watchers and animation libraries instead of CSS transitions for certain animations in Vue?
How many top level <template>
blocks can a Single File Component (SFC) contain?
What are whitebox tests?
When does a computed property change?
RxJS is a library for working with ______ .
What is a more appropriate way to return a reversed array in a computed property than return numbers.reverse()
?
What is an example of a CSS animation that can be triggered by adding a class in Vue?
For radio, checkbox and select options, the v-model
binding values are usually ______ strings (or booleans for checkbox)
We can use the ______ directive, which we typically shorten to the @
symbol, to listen to DOM events and run some JavaScript when they’re triggered.
What are the functions called, that give users the opportunity to add their own code at specific stages of a components initialization and cleanup?
How does the $() macro assist with destructuring refs in Vue’s Reactivity Transform?
Is it recommended to use placeholders with form inputs?
What is the built-in component to render a part of a component’s template into a DOM node that exists outside the DOM hierarchy of that component?
Composition API covers the following APIs: ______ - directly create reactive state, computed state and watchers. ______ - programmatically hook into the component lifecycle. ______ - leverage Vue’s dependency injection system.
Should prop and event validation be used in production?
What are the two forms of code reuse in Vue?
What are the two ways to define a plugin?
Is it necessary to manually stop watcher functions?
How do you create a local component?
How can watchers be utilized in Vue to animate numerical values smoothly over time?
What is the Virtual DOM?
What is it called when the DOM structure of the pre-rendered HTML does not match the expected output of the client-side app?
Vue’s function for creating vnodes ______ is short for hyperscript - which means “JavaScript that produces HTML (hypertext markup language)”.
When deploying to production, why should we drop all the unused, development-only code branches?
What is the <Suspense>
built-in component used for?
Can an emitted event be validated?
How can you trigger animations on elements that are not entering or leaving the DOM in a Vue application?
What are the life-cycle hooks for kept-alive components?
How do you make comments in Single File Components (SFCs) ?
What does props drilling refer to?
Do warning checks incur performance overhead?
Vue displays HTML through ______ or ______ . You can use either one, but Vue recommends ______ by default.
With what kind of components is the built-in <KeepAlive>
component typically used with?
How many times can a component be used?
What role do animation libraries like GSAP play when used with Vue watchers?
Answer:
When working with the options API, the ______ hook can be used to run code after the component has finished the initial rendering and created the DOM nodes.
What browser API do Single Page Applications (SPAs) take advantage of for client side routing?
What are the advantages of using reactive variables with the Reactivity Transform over traditional refs?
Where can you use a globally registered component?
What are unit tests?
What is the purpose of the $ref() macro in Vue’s Reactivity Transform?
What are the two limitations of the reactive()
API?
How can existing refs be converted to reactive variables using the $() macro?
How can you do simple state management without Pinia or Vuex?
Do component lifecycle hooks run on the server during Server Side Rendering (SSR)?
How many <script setup>
blocks can a Single File Component (SFC) contain?
Vue provides core libraries and comprehensive tooling support for building modern SPAs, including: * ______ ______ * ______ ______ ______ ______ * ______ ______ * ______ ______ * ______ ______ * ______ ______
Which is cheaper and easier to deploy, Server Side Rendering (SSR) or Static Site Generation (SSG)?
What’s a way to declare props?
Update performance refers to?
What is the best practice for return values of composables?
What are component tests?
When using a build step, we typically define each Vue component in a dedicated file using the ______ extension.
The v-for
directive requires a special syntax in the form of ______ ______ ______ where ______ is the source data array and item
is an alias for the array element being iterated on.
Is it safe to use non-trusted templates in Vue?
Which watcher function automatically tracks every reactive property accessed during its synchronous execution?
What problems arise when destructuring props with defineProps() in Vue, and how does the Reactivity Transform solve them?
What is the state management library maintained by the Vue team?
In what scenarios are Single File Components (SFCs) the recommended approach?
Can lifecycle hooks be registered asynchronously?
When does a computed property run its getter function?
What is the purpose of tree flattening?
What does Client Hydration refer to?
What is the linting approach maintained by the Vue team?
What is the built-in component for applying animations when an element or component is entering and leaving the DOM?