For some reason, when starting my app it loads multiple times (up to 17 I have seen) and uses up all of my ngrok connections when developing. The page takes ages to load and things are called multiple times on the index page (ie. things that should only be printed once get printed multiple times) and I am not sure why, I asked someone online and they said it could be due to Polaris performing checks but have no idea what I could do about that.
I have also noticed that when opening a new ngrok connection on it a test app for the first time, it redirects again to the URL of the real app and I have to switch back - which ends up using all of my connections again. I thought it might be due to making requests to the DB but I don't think it is now. I get the 429 error regularly too (which I believe is related to performing too many requests) and GraphQL requests get repeated many times. Could it be related to KOA at all?
Using up the connections is not the end of the world, but when I load the real app it refreshes a couple of times, then reloads again and is fine to use. It looks really unproffessional and I imagine is irritating for customers too.
Has anyone had anything like this before? Is this normal?
Any feedback would be greatly appreciated, thank you!