Slots > Props

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

In Module 4 of Reusable Components we cover the third level of reusability, Adaptability.

This lesson covers a few ideas around when we would want to use slots, moving our component from Configuration to Adaptability, including:

  • The inherent limitations of props
  • Why slots are better than props
  • When it makes sense to actually avoid reusability in your components

Check out the course page for more details on what's included in the course!