I am working on a fairly large application with several additional modules. Each of the submodules can have complex functionality with many panels and user interface components. I used to do smaller projects as a one-page application, but this time I was worried that my DOM would not be updated for a long time if the user continued to work in many modules.
When I analyze how Facebook works, I see that it works as a single-page application most of the time. But from time to time it updates the entire DOM with the help of the user (apparently, it is random OR based on the calculation of user activity).
Are they any model or best practice regarding how you can build large applications like a single page without sacrificing DOM performance?
(I'm not looking for coding methods to keep the memory level low, but for a design approach for a general application)
source share