What is the Props Collection Pattern?

In this lesson, we'll have a quick overview of the props collection pattern!

Commonalities Across Component Usage

Regardless of the components, you build and who uses them, some things will remain the same for all users of the component.

How can we know this?

Well, consider the Expandable component we’ve worked so hard on.

Regardless of the UI solution the user decides to go for, they’ll always need an onClick handler for the “toggle element”.

Get hands-on with 1200+ tech skills courses.