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

Share this video with your friends

Send Tweet

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.