I was curious to know if refreshing a page with a running Vue app would prompt the Vue's .destroyed
callback.
After observing a Vue app that consists of these basic lifecycle callbacks:
created() {
console.log(' created');
},
destroyed() {
console.log('destroyed');
}
only 'created'
gets logged (not 'destroyed'
). How can I verify if the .destroyed
callback has been triggered?