I now have a scheduled task on the page, and then keep shutting down the interface, which will cause app to flash over a long time. Or the page is stuck.

I would like to ask if there is any solution for this. The axios, background I use says that this is third-party data and cannot be linked to socket, so I can only keep browsing the request

at the front end.
Jan.10,2022

memory leak causes the page to jam. You can try to send the request a few seconds after the last request succeeds


try web worker


I have no experience, but I have an idea:
you are using setInterval, do you want to try requestAnimationFrame?

Menu