Custom Vue.js 3 Plugins - Create a Tool-Tip Plugin - Prevent Memory Leaks by Destroying Tippy onUnmounted
In this lesson, we make sure to clean up any event listeners that tippy might be registering on unmount of the ToolTip component. We can do this with tippy’s destroy method. This prevents possible memory leaks that might hinder the performance of our app.
Links