Why Build a DataLoader Component?
The Basic DataLoader Component
Exercise 1 - Custom Authentication
Exercise 1 Solution
Debouncing API Calls (updated)
The Loading State
Exercise 2 - Spinner Plus
Exercise 2 Solution
The Error State
DataLoader Component Conclusion
0% done with Advanced Components - Slots III (DataLoader Component)

Chapter 3 of 5 in Advanced Components: Slots
Why Build a DataLoader Component?

In this course we'll be using advanced Components and Slots knowledge to build the DataLoader Component.

The DataLoader Component itself is really cool and useful, but it does occupy a similar range of use-cases as the Suspense Component that's coming in Vue 3.

So why build it?

The two components do have slightly different use cases, and this component does have some debouncing and error handling functionality that I don't think Suspense possesses, but the biggest reason doesn't have to do with the component itself.

Taking this course will enhance you thinking and help you add new tactics to your mental toolkit - tactics that you can use while building components that have nothing to do with loading data.

What do others think of VueScreencasts?
"<3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3"
—Aymen Oppa Software
"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
"Thank you!"
—Артем Єрко
"Thanks Jeffrey, great lessons with so much content and new concepts! Can't wait for the next ones."
—Bairre G
Take your career to the next level