Subscribe now and get immediate access to this course, 18 others, and all future Vue.js courses!
Get access to this course, 18 others, and future Vue.js courses!
In this Vue.js tutorial, we’ll refactor the addPost method into actions and mutations.
Remember, that you should never alter the state outside a mutation.