NightCatSama/vue-slider-component

[vue3.x] onUnmounted is called when there is no active component instance to be associated with

niddu85 opened this issue · 1 comments

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."

image

Environment

  • Vue: 3.3.4
  • NUXT version: 3.6.1
  • Component Version: 4.1.0-beta.7

i realized how to fix it.

this happened when using inside the tooltip-formatter prop an async function