Why Build a DataLoader Component?
2:41
The Basic DataLoader Component
9:00
Exercise 1 - Custom Authentication
0:42
Exercise 1 Solution
1:07
Debouncing API Calls (updated)
5:12
The Loading State
3:29
Exercise 2 - Spinner Plus
1:37
Exercise 2 Solution
1:26
The Error State
3:41
DataLoader Component Conclusion
1:10
0% done with Advanced Components - Slots III (DataLoader Component)

Chapter 3 of 5 in Advanced Components: Slots
The Loading State

We implement a loading state, to let the user know that their request is being handled.

By default it will show a nice loading animation, but through named slots the developer can customize what the user sees.

What do others think of VueScreencasts?
"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
"Amazing content. Good job, man."
—milose
"Thank you for listening and being willing to put effort into helping us better understand Vue!"
—Kyle Collie
"Thank you very much!!!!!!!"
—Idriss Jouid
Take your career to the next level