Subscribe now and get immediate access to this course, 10 others, and all future Vue.js courses!
Get access to this course, 10 others, and future Vue.js courses!
Plans from $12/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.