Intro to Connecting Tags
0:52
Creating the Video Show Page
3:20
Using v-autocomplete to show selected tags
4:16
Why we'll be using Computed Setters
3:36
Adding and Removing Tags
14:20
Review
5:08
Bonus - Add new tags with Vuetify's Combobox
14:09
0% done with Many-to-Many relationships in Vuex

Chapter 11 of 27 in Building VueScreencasts.com
Adding and Removing Tags

We first try the obvious method for adding and removing tags -- taking the updated array and setting it in the store -- but that causes a bug.

The method we settle on is using underscore's differenceBy function to uncover what tag has been added or removed, then sending that one tag to Vuex.

What do others think of VueScreencasts?
"Really nice video with nice explanation. Subscribe"
—Igor Špánik
"Really nice video with nice explanation. Subscribe"
—Igor Špánik
"You saved my day! Thanks!"
—Ivomar Santos
"Such an excellent video! Your explanations are so clear. This is the first time where I don't feel burned out in a 40min+ video tutorial. Thank you so much!"
—João Victor Valentim
Take your career to the next level