Intro to refactoring persistence to server
0:30
Loading Video Plays
10:21
Saving Video Plays
7:44
Review
0:44
0% done with Refactoring localstorage persistence to server using Vuex and Axios

Chapter 10 of 27 in Building VueScreencasts.com
Saving Video Plays

We change the "Mark Played" button so it saves video plays to the server rather than localstorage.

Because of the excellent separation of concerns given by Vuex, the vast majority of our code written in this lesson is in the Vuex store. In fact, the only lines outside the Vuex store we need to write are about whether or not to show the "Mark Played" button, since users that aren't logged in can no longer track played videos.

What do others think of VueScreencasts?
"You saved my job just now."
—Shamim Hossain
"Dude, it's an excellent video. Soothing voice, extensive and crystal clear explanations, troubleshooting common issues... You do it and you do it well. Keep up the good work & congratulations :-) Subscribed without the slightest hesitation"
—BillyBobBonnet
"Man, this is a nice video, thank you."
—Esteban Cordoba
"Great as always, thanks Jeffrey."
—אלכסיי לוינזון
Take your career to the next level