Custom Vue.js 3 Plugins: Boost Reusability and Functionality
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

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