I’m trying to build something in React that filters a list based on what the user types into an input box.
It’s making 2 types of API calls; the first type retrieves a list of items. The second type retrieves info about the user. Sofar I have it displaying the entire list of items, and based on
user_id it retrieves info about the user when each item loads.
The problem is I need to filter by user name. And the list of items doesn’t have the user name.
… any suggestion how to do this? I’m flummoxed, I’ve spent about 5 hours trying to figure it out.