Intro to refactoring persistence to server
Loading Video Plays
Saving Video Plays
0% done with Refactoring localstorage persistence to server using Vuex and Axios

Chapter 10 of 27 in Building
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?
"Nice job."
—Bucur Ion Niculae
"Thank you for putting in the effort to make these videos and share with all!"
—Ritika Singh
"Thanks Jeffrey, great lessons with so much content and new concepts! Can't wait for the next ones."
—Bairre G
"Thank you very much!!!!!!!"
—Idriss Jouid
Take your career to the next level