News for hackers. Stuff that matters.
Re:Virtual DOM is pure overhead (2018) by alsadi on Thursday July 01, 2021 @04:23AM (#27697290)
I do agree. When I first see it I knew that. Comparing two sequences (actual dom and dom) to find diff is like O(n^2) and the assumption that dom ops is expensive is a lie (premature optimization). Dom ops on ids and classes and fragments is very fast. In most cases a slow dom is always a developer fault failing to use fragments.

There are no comments on this comment yet.