So i have the following functional component that works fine. What i want to do is cache the results so i am not hitting the api over and over again for same search term.