2 ms·
> It’s diffed against real tree. It isn't, it's diffed against the previous virtual dom, to create a set of patches, which are then applied to the real tree.
by Izkata 7y ago
> It’s diffed against real tree.
It isn't, it's diffed against the previous virtual dom, to create a set of patches, which are then applied to the real tree. This is why modifying the dom directly through refs can result in bugs.