Refactoring the Sorters Component

Learn how to refactor a React sorting component from a parent-child pattern into an internal state management pattern.

The current Sorters component

Let’s take a look at the current Sorters component below:

Get hands-on with 1400+ tech skills courses.