Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Master Vue.js with Vue School Premium

$25 / month

Custom Vue Directives

Get access to this course, 17 others, and future Vue.js courses!

Start Learning

Already got an account? Log in

The Unbind Hook

In this lesson, we learn about a common gotcha when using custom directives together with intervals and events and how we can use the unbind hook, to clear the interval.