Among the approaches below, which do you think is better practice ??
[ 1 ] Using $emit
to expose methods from child component to parent component
$emit('updateAPI', exposeAPI({ childMethod: this.childMethod }))
OR
[ 2 ] Using $refs
from parent component to access child component methods
this.$refs.childComponent.childMethod()