Fast refresh spams console after a single button press
Unanswered
Cuban Crocodile posted this in #help-forum
Cuban CrocodileOP
Hello everyone! I'm genuinely so confused, does anyone know how to fix this?
I’m running into an issue with Fast Refresh. When I click a simple button, which is only supposed to redirect me to a page, my console gets spammed with logs. I have no more info, the only thing I can say is that the page that loads after clicking has a DB query. Could it be related to that?
I’m running into an issue with Fast Refresh. When I click a simple button, which is only supposed to redirect me to a page, my console gets spammed with logs. I have no more info, the only thing I can say is that the page that loads after clicking has a DB query. Could it be related to that?
1 Reply
West African Lion
I think you may have to look for anything that's causing infinite rerenders, something like a useEffect