Javascript – Setting React State from API call? Async loop of hell
I cannot figure out what is going on. I feel like I'm running into a race condition, but I don't see it. Can anyone lay eyes on this? I'm trying to load a list of "accounts" from an API in…