|
|
|
|
|
by zozbot234
1896 days ago
|
|
> The slowness happens when you ask the browser to parse that HTML string and generate the appropriate DOM If you do it right, that step only has to happen once for each user interaction. You can entirely dispense with the need to do multiple edits to the DOM via pure JS. |
|
At the moment, the "virtual DOM" approach is actually going against performance optimization.
JS frameworks like react, vue, angualr etc effectively replicates a big portion of browser's internal logic for nothing.