0% done with NuxtJS + Vuex: Deserialization, load strategies, middleware
13:19
|
Published on
10/20/2019
|
|
Chapter 16 of 27 in Building VueScreencasts.com
Preloading, Middleware, and Promises
We’re going to preload all of our data. We’ll accomplish this in several steps.
- Separate out loadAllTags from loadAllVideos
- Call our loadAll methods from all fetch hooks, remove unused Vuex actions
- Make the correct videos show up on the tags page
- Ensure no repeat API calls
- Using middleware to preload data
- Use Promises (RSVP.all or Promise.all) to make API calls in parallel
What do others think of VueScreencasts?
"Really enjoying these, thank you!"
—Lars Sørensen
"Great series!"
—Milan Zigmond
"I’m enjoying your style, keep it up!"
—Sean B
"Such an excellent video! Your explanations are so clear. This is the first time where I don't feel burned out in a 40min+ video tutorial. Thank you so much!"
—João Victor Valentim