honeybadger-js
honeybadger-js copied to clipboard
Vue 3 composition API support
The Honeybadger Vue plugin does not appear to support the Vue 3 composition API.
The Honeybadger docs say to access this.$honeybadger, but components using the composition API do not have this, so there's no way to access the Honeybadger instance from a component (except the extremely-discouraged internal API, getCurrentInstance().proxy.$honeybadger)
I think the normal composition API would be for the module to export a useHoneybadger function, or possibly to use provide/inject.