Lifting State in React

Learn to share the search component's state across multiple components.

We'll cover the following

Currently, the Search component still has its internal state. While we established a callback handler to pass information up to the App component, we are not using it yet. We need to figure out how to share the Search component’s state across multiple components.

The search term is needed in the App to filter the list before passing it to the List component as props. We’ll need to lift state up from Search to App component to share the state with more components.

Get hands-on with 1400+ tech skills courses.