Listings Keeps Making Requests Repeatedly

I’ve been following along with part 6 of the Networking section of the Advanced tutorial and everything seems to be functioning properly, although I am just concerned because it seems that my app is making infinite calls to listings (at least from what I can tell while debugging). This doesn’t seem to happen in Mosh’s video. Is this normal behavior because I am debugging?

Okay update: something is definitely wrong as my app permanently has the loading symbol (even when connected and successfully retrieving the listings) when I got to part 9 which introduces the activity indicator

I realized the problem, I did not properly set up the useEffect hook