This command will install and execute create-vue, the official Vue project scaffolding tool.
How can you trigger animations on elements that are not entering or leaving the DOM in a Vue application?
What is the official, low-level component testing library for Vue?
Computed properties are by default ______-only.
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 help retain reactivity when passing reactive variables to functions?
When does a computed property change?
What is an example of a CSS animation that can be triggered by adding a class in Vue?
How many <script setup>
blocks can a Single File Component (SFC) contain?
What do you call a component that encapsulates logic but does not render anything by itself?
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.
What is the benefit of using Vue to build standard Web Components?
What should process.env.NODE_ENV
to be set to when building production files?
How does the $() macro assist with destructuring refs in Vue’s Reactivity Transform?
Vue’s function for creating vnodes ______ is short for hyperscript - which means “JavaScript that produces HTML (hypertext markup language)”.
What is Declarative Rendering?
How do you pass template content to a child component?
Name examples for hook arguments!
What are the main benefits of Pinia compared to Vuex?
Is it recommended to use placeholders with form inputs?
What is the state management library maintained by the Vue team?
What are the two built-in components that can help work with transitions and animations in response to changing state?
What is the command to install and execute create-vue, the official Vue project scaffolding tool?
In Vue templates, JavaScript expressions can be used in the following positions:
What is the function you need to use when defining/exporting components in order to let TypeScript properly infer types inside component options?
What are the two limitations of the reactive()
API?
In what scenarios are Single File Components (SFCs) the recommended approach?
What method allows you to create animations in Vue by binding styles directly to reactive data properties?
When does a computed property run its getter function?
Should component tests mock child components?
What are the two ways to let TypeScript infer types? Hint: it’s the code that follows after defineProps()
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 role do animation libraries like GSAP play when used with Vue watchers?
Answer:
Vue is a JavaScript ______ for building user ______
How can existing refs be converted to reactive variables using the $() macro?
What is a fallthrough attribute?
What are the two core features of Vue?
Custom directives should only be used when the desired functionality can only be achieved via ______ ______ ______. Prefer declarative templating using built-in directives such as v-bind
when possible.
What are the primary trade-offs when using Server Side Rendering (SSR)?
Vue provides core libraries and comprehensive tooling support for building modern SPAs, including: * ______ ______ * ______ ______ ______ ______ * ______ ______ * ______ ______ * ______ ______ * ______ ______
When is it recommended to begin writing tests?
How do you make comments in Single File Components (SFCs) ?
What is a “Composable”?
What is the shorthand for attribute binding?
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.
For complex logic that includes ______ data, it is recommended to use a ______ property.
Question: What are some limitations of using custom elements compared to Vue components?
What are alternatives to the $emit()
method?
What is the first question you should ask before using Server Side Rendering (SSR)?
With Vue 3 + TypeScript, which is preferred, Vite or Webpack?
How can watchers be utilized in Vue to animate numerical values smoothly over time?
Which properties could the binding
argument contain?
What are the two forms of code reuse in Vue?
Does Server Side Rendering (SSR) use reactivity on the server-side?
How can you do simple state management without Pinia or Vuex?
What built-in component allows you to conditionally cache component instances when dynamically switching between multiple components?
Where can you use a globally registered component?
How does the Vue Reactivity Transform simplify the use of refs and reactive variables?
What is the primary benefit of using custom elements in Vue?
What is an alternative approach to client-side routing for simple needs?
When deploying to production, why should we drop all the unused, development-only code branches?
Does slot content have access to the state of the parent component?
Type inference for props in Options API requires wrapping the component with ______.
Nowadays Google and Bing can index Javascript applications just fine, but they must be ___________?
What is the name of the official VSCode extension that provides TypeScript support inside Vue SFCs, along with many other great features?
How is the reactive state declared with the Composition API?
What language is Vue 3 written in?
The primary limitation of Static Site Generation (SSG)?
If a child component’s root element already has existing class or style attributes, does passing class or style fallthrough attributes merge or replace the attributes from the root element?
What is the first thing to do when creating an app with Vue?
How do you create a local component?
For radio, checkbox and select options, the v-model
binding values are usually ______ strings (or booleans for checkbox)
What are unit tests?
What is it called when the DOM structure of the pre-rendered HTML does not match the expected output of the client-side app?
____________ (SSR) is a method of prerendering your Vue’s HTML on the server. Once the JavaScript is downloaded, Vue will be able to “______” the application, or make it interactive.
What are the pros of runtime reactivity?
Vue displays HTML through ______ or ______ . You can use either one, but Vue recommends ______ by default.
How can you restructure your code when a component has become too large to navigate?
What are the two ways to define a plugin?
What are whitebox tests?
What’s a way to declare props?
Which syntax is used for text interpolation in templates?
What is an alternative to computed properties for displaying filtered/sorted lists, in cases where this is not feasible?
What are blackbox tests?
To render a block, what type of value must the directive v-if
return?
What is a skip link?
You can ______ ______: one composable function can call one or more other composable functions. This enables us to compose complex logic using small, isolated units.
Can an emitted event be validated?
What are your options how to build an application with Vue?
What is the name of the officially supported router for Vue projects?
How can Single File Component (SFC) blocks declare pre-processor languages?
What is the official webpack-based toolchain for Vue?
What browser API do Single Page Applications (SPAs) take advantage of for client side routing?
What is the best practice for return values of composables?
With what kind of components is the built-in <KeepAlive>
component typically used with?
If you want to have multiple slot outlets in a single component, what do you need to use?
What is the <Suspense>
built-in component used for?
When is client-side routing particularly useful?
What are components that only load from the server when they are needed known as?
What are the life-cycle hooks for kept-alive components?