diff --git a/src/api/built-in-components.md b/src/api/built-in-components.md index 23ec5f2578..1e5b1dd454 100644 --- a/src/api/built-in-components.md +++ b/src/api/built-in-components.md @@ -180,7 +180,7 @@ import { KeepAlive, Teleport, Transition, TransitionGroup } from 'vue' When wrapped around a dynamic component, `` caches the inactive component instances without destroying them. Similar to ``, `` is an abstract component: it doesn't render a DOM element itself, and doesn't show up in the component parent chain. - When a component is toggled inside ``, its `activated` and `deactivated` lifecycle hooks will be invoked accordingly. + When a component is toggled inside ``, its `activated` and `deactivated` lifecycle hooks will be invoked accordingly, providing an alternative to `mounted` and `unmounted`, which are not called. (This applies to the direct child of `` as well as to all of its descendants.) Primarily used to preserve component state or avoid re-rendering.