Exercise 11_React Component 2
Exercise 11_React Component 2
A React component is a reusable building block in React, a popular JavaScript library for
building user interfaces. React components are the fundamental units of a React application
and are responsible for encapsulating UI logic and rendering elements on the screen. By the
end of this exercise, you should have a good understanding of React components and how to
create and use them in your applications.
Exercises
Hint:
Declare React component states for search input values.
Create HTML input text for entering search term and update state in onChange function.
Add Array.filter() on list of items with search term value.
Conclusion
After learning about React components, you should now have a solid understanding of how
to create and use them in your React applications.