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?
"I spent all evening doing Nuxt registration. I wish I had've spotted this video sooner. 🤦🏻‍♂️. Excellent and clear tutorial. Thank you!"
—Si D
"Wonderful! Super helpful. Thank you."
—Abdur Rahman
"thank you so much"
—note
"Thanks @Vue Screencasts!! This video helped me a lot in understanding Vuex, and in answering questions that I have, which I can't find answers for on StackOverflow. Keep up the good work!!"
—kidgr33n
Take your career to the next level