[vue3.x] onUnmounted is called when there is no active component instance to be associated with
niddu85 opened this issue · 1 comments
niddu85 commented
using component with nuxt 3.6.1, the browser gives me hundreds of warnings:
"onUnmounted is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement."
Environment
- Vue: 3.3.4
- NUXT version: 3.6.1
- Component Version: 4.1.0-beta.7
niddu85 commented
i realized how to fix it.
this happened when using inside the tooltip-formatter prop an async function