Skip to content

Vue Cards

Master Vue Cards with 50 free flashcards. Study using spaced repetition and focus mode for effective learning in Technology.

🎓 50 cards ⏱️ ~25 min Advanced
Study Full Deck →
Share: 𝕏 Twitter LinkedIn WhatsApp

🎯 What You'll Learn

Preview Questions

12 shown

What is <code>shallowReactive</code> in Vue?

Show ▼

It creates a reactive object where only the top-level properties are tracked; nested objects stay non-reactive unless wrapped separately.

What is <code>triggerRef()</code> used for?

Show ▼

It manually notifies Vue that a shallowRef changed after you mutated its inner value without replacing the reference.

What does <code>getCurrentInstance()</code> return?

Show ▼

It returns the current active component instance and is mainly useful in advanced framework or library code.

What is <code>Vue.compile()</code>?

Show ▼

It is a runtime+compiler API that turns a template string into a render function at runtime.

What does <code>mode="out-in"</code> do on <code>&lt;Transition&gt;</code>?

Show ▼

It waits for the leaving element to finish its transition before inserting the entering element.

What are the six core Vue transition classes?

Show ▼

v-enter-from, v-enter-active, v-enter-to, v-leave-from, v-leave-active, and v-leave-to.

What is the difference between <code>v-show</code> and <code>v-if</code>?

Show ▼

v-show toggles CSS display while keeping the element in the DOM; v-if adds or removes the element entirely.

How do you destructure slot props in Vue?

Show ▼

Use v-slot="{ item, index }" or the shorthand #default="{ item, index }" on the parent side.

What is <code>router.beforeResolve</code>?

Show ▼

A global guard that runs after in-component and async route guards resolve but before navigation is confirmed.

What is <code>router.afterEach</code> used for?

Show ▼

It runs after successful navigation and is useful for analytics, logging, and cleanup.

What are <code>onRenderTracked</code> and <code>onRenderTriggered</code>?

Show ▼

Debug hooks that tell you which reactive dependency was tracked or which one caused a re-render.

Why use <code>defineComponent()</code>?

Show ▼

It improves TypeScript inference for props, emits, computed values, and component options.

🎓 Start studying Vue Cards

🎮 Study Modes Available

🔄

Flashcards

Flip to reveal

🧠

Focus Mode

Spaced repetition

Multiple Choice

Test your knowledge

⌨️

Type Answer

Active recall

📚

Learn Mode

Multi-round mastery

🎯

Match Game

Memory challenge

Related Topics in Technology

📖 Learning Resources