3 ms·
They are only batched if they are all updates or all reads, but not if there's an interpolation of both. Even if the browser optimizes it with an optimum updat
by lhorie 8y ago
They are only batched if they are all updates or all reads, but not if there's an interpolation of both.
Even if the browser optimizes it with an optimum update strategy, it doesn't matter if a developer who doesn't know better forces thrashing to occur. Virtual DOM libs help structure code in such a way that idiomatic code falls into the pit of success.