I knew that if change DOM in vanilla js, the entire browser will do relayout and repaint each time.
So in single page applications with many elements and frequent cha