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

In Module 3 of Reusable Components we cover the second level of reusability, Configuration.

Configuration is all about using props to allow for variations in how a component works (you're likely doing some form of this already). For example, instead of writing an entirely new component for each type of button, you can add in a type prop that allows you to switch between the different styles.

In this video we also go over configuration props and state props, and how they're different.