If for some reason I want to delete an object property in a vuejs data object, the view might not update when doing so. There is the force update method that can be used to update a view if necessary. However there is the built in Vue delete method as well that can also be used to delete an object property and update the view in one shot.
Although a solution like this might work there is the built in vue delete method that can be used to both delete the object key, and update the view in one shot.
One way to use the delete method is as a global method of Vue. As such the same example above could also be written as such: