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 41

Creating addEvent action in store

In our add_event mutation, we're doing two things.

We're pushing the; we're creating this object and then we're pushing it to the state, that's

to the events properly in the state and there are also triggering a post which goes off

and sends it to our server.

So I'd like to move some of this functionality now into an action, because you'll recall

that actions can be asynchronous and and what I'd like to do is make it so that we don't


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