While defineProps macro is the recommended approach to expose child props for the parent component, in this video, i cover templateRef wherein a child component is referenced in parent using the ref attribute while the child exposes the concerned variables using defineExpose macro for the parent to access the child variables in the parent component lifecycle hook... in short, this is ref attribute and defineExpose in action for composition API
Ещё видео!