1๐
I finally understand my mistake. Thank you all for your efforts and the clarifications. I misunderstood the JS Object as a function of Vue. I now understand that an object is passed to the v-bind :class and then takes the Boolean value of isFav to determine if the class fav is to be attached or not. Thank you all again for sharing your expertise.
๐คglasseye
Source:stackexchange.com