Courses
Vue Foundations Vue Fullstack Vue Enterprise
Articles
Latest Topics
More
Newsletter Sponsorship Discord About
The video for this lesson is currently being updated, please read the transcript instead.
Advanced Vue 2 - Vuex & SSR > Lesson 40

Vue essentials - Vuex actions

The next Vuex feature we are going to examine is actions.

So actions are very similar to mutations, are functions that you define as part of your

store configuration.

The big difference is that actions, they don't change the state, all they do is commit mutations,

and also unlike mutations they can be asynchronous.

So we haven't talked about this this just yet but mutations need to be synchronous they

can't be asynchronous.

So in other words you can't, for example,


Back to course page

Click to load comments...

Courses
  • Vue Foundations
  • Vue Fullstack
  • Vue Enterprise
Articles
  • Latest
  • Topics
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom