Exercise
In this lesson, we are going to put what we have learned in this course together to build a React component.
We'll cover the following
The challenge #
Our challenge in the exercise is to build a strongly-typed function component called List
that renders a list of strings that the consumer can pass into in an items
prop. Above the list should be a search input that automatically has focus when the component is first rendered. Items in the list that match the search text entered should be rendered in bold.
Below is a screenshot of the completed component in use:
Get hands-on with 1400+ tech skills courses.