Understanding Scoped Slots

This is an excerpt of my course, Reusable Components, which will be released on November 3!

Scoped slots are one of the trickiest things to understand in Vue.

And once you've wrapped your head around the syntax and how data is passed through you aren't finished. Knowing when to put them in your own components is even more difficult!

But that's what Inversion — the 4th level of reusability — is all about.

Inversion uses scoped slots quite heavily, so in this lesson we'll be diving deep into scoped slots to understand how they work.

You'll see how thinking about slots as functions can make it much easier to see what's really going on.

This is from Module 5 of Reusable Components. Check out the course page for more details on what's included in the course!