Vue.js provides an API for dispatching events in components by this.$emit. But in functional components, you don’t have this instance at all and many people who didn’t previously worked with functional components, ask “How to emit an event in a functional component?”…
Source: https://dev.to/denisinvader/vue-emit-an-npm-package-to-dispatch-events-in-vuejs-2a4f