Reusable Components

This lesson explains how we can implement component hierarchies in React to achieve reusability.

We'll cover the following

Reusable and composable components empower you to come up with capable component hierarchies, the foundation of React’s view layer. The last sections mentioned reusability, and now we can see how reusing the Table and Search components works in our case. Even the App component is reusable, as it can be instantiated elsewhere as well.

Let’s define one more reusable component, a Button component which we’ll eventually reuse often:

Get hands-on with 1400+ tech skills courses.