I was instructed to create an extremely heavy JavaScript site, which, of course, should be compatible with feedback, as well as work with pad devices, dynamically resize, etc.
Does anyone have any tips on how to help with code reliability? Currently, a lot happens when the DOM is ready. For instance. graphs are scaled, event events are defined, etc.
However, if the file is slow or the user stops loading, the DOM ready is not always executed, so that the images do not change correctly or some other Javascript function to execute.
In most cases, everything works flawlessly, but there are some weird times with a network connection that cause several βrandomβ problems.
I would like to hear some thoughts on improving reliability.
source
share