Looking for a way to incorporate lodash debounce into a method while still retaining access to 'this' within the function. See the example code below:
data() {
info: 'Read Me!'
},
methods: {
readData() {
console.log(this.info)
}
}
In Vue2, I was able to achieve this using the following:
methods: {
readData: debounce(function() {
console.log(this.info)
}, 500)
}