Combine All Functionalities in the App

Combine the search, sort, and filter functions and their respective React components to interact with the application data in complex ways.

Let’s pull SearchInput, Sorters, and Filters into the App component. We’ll also bring in all the state variables needed to properly call genericSearch, genericSort, and genericFilter for both the widgets and the people data.

Including all state variables

First, let’s consider the large number of state variables we’ll need.

Get hands-on with 1200+ tech skills courses.