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?
"Thanks for your videos."
—Rafael Canan
"Excellent tutorial. Thank you!"
—luminaia
"thank you man, great videos"
—BaWaR
"You saved my day! Thanks!"
—Ivomar Santos
Take your career to the next level