Course lesson

Filter a JavaScript array with JSX and the `Array.filter()` method

In this lesson, we use application state to filter a list of names from a JavaScript array. When users type a search string in the Search component, the NamePicker component re-renders with the updated list of names matching the search.

Duration
1 min
Access
Free
Transcript
Available

In this lesson, we use application state to filter a list of names from a JavaScript array. When users type a search string in the Search component, the NamePicker component re-renders with the updated list of names matching the search.