Skip to content
Technology

Vue Cards

🤖 AI-generated

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

50 cards · ~25 min · Advanced · Updated

Sample card

What is shallowReactive in Vue?

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

Share: 𝕏 Twitter LinkedIn WhatsApp ☆ Save deck

🎯 What You'll Learn

Preview cards

Q · 1 of 50

What is shallowReactive in Vue?

Q · 2 of 50

What is triggerRef() used for?

Q · 3 of 50

What does getCurrentInstance() return?

+9 more cards →

Preview Questions

12 shown

What is shallowReactive 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 triggerRef() used for?

Show ▼

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

What does getCurrentInstance() return?

Show ▼

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

What is Vue.compile()?

Show ▼

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

What does mode="out-in" do on <Transition>?

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 v-show and v-if?

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 router.beforeResolve?

Show ▼

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

What is router.afterEach used for?

Show ▼

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

What are onRenderTracked and onRenderTriggered?

Show ▼

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

Why use defineComponent()?

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