Subscribe now and get immediate access to this course, 15 others, and all future Vue.js courses!
Get access to this course, 15 others, and future Vue.js courses!
Plans from $25/month
Already got an account?
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.