title: How to replace this.$parent.$emit in Vue 3?
body: <p>I have migrated my application to Vue 3.</p>
  
  <p>Now my linter shows a deprecation error, documented here: <a href="https://eslint.vuejs.org/rules/no-deprecated-events-api.html" rel="nofollow noreferrer">https://eslint.vuejs.org/rules/no-deprecated-events-api.html</a>.</p>
  
  <p>The documentation shows how to replace <code>this.$emit</code> with the <code>mitt</code> library, but it doesn't show how to replace <code>this.$parent.$emit</code>.</p>