Search⌘ K

Challenge: Remember Last Searches

Explore how to implement a feature that recalls the last five search terms in a React application. Learn to reuse state hooks to manage multiple URLs, retrieve results from an API, and create navigation buttons for quick access to previous searches without duplicating state.

We'll cover the following...

Task

Remember the last five search terms to hit the API, and provide a button to move quickly between searches. When the ...