Category: Vue

0

Chapter 91: Vue ‘props’ Option

The props option This is the official, clean, safe way to pass data from parent to child component — the primary mechanism for parent → child communication in Vue. Even in 2026 — when...

0

Chapter 92: Vue ’emits’ Option

The emits option This is the official, clean, declarative way to tell Vue (and other developers reading your code): “These are all the custom events that this component might emit to its parent.” In...

0

Chapter 93: Vue ‘expose’ Option

The defineExpose macro (often just called the expose option or expose API) This is not an option like props, data, computed or methods in the old Options API. It is a special macro (a...

0

Chapter 94: Vue Lifecycle Hooks

Vue Lifecycle Hooks These are special named functions (or callbacks) that Vue automatically calls at very precise moments during the life of a component instance — from creation → mounting → updating → destruction....

0

Chapter 100: Vue ‘updated’ Lifecycle Hook

Updated (or its modern Composition API name onUpdated) This hook is not one you reach for every day (unlike onMounted or onBeforeUnmount), but when you do need it, it solves a very specific problem...