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 Error State

When there's a problem with the API call, we want to let the user know.

We equip the DataLoader Component with a default error message, and provide a named slot if the developer wants to add a custom message.

What do others think of VueScreencasts?
"Thanks, just looked for something good about how Nuxt work with its pages, layout, store, and your videos are really good!"
—justLbee
"Woohoo... keep it up!"
—fazzy akamello
"Awesome video!"
—Doïc de Maleprade
"Excellent tutorial. Thank you!"
—luminaia
Take your career to the next level