3 ms·
Doing interviews I've heard a lot of this - react is more efficient than using the DOM directly, etc but no one can tell me why - they are just parroting what t
by mosdl 7y ago
Doing interviews I've heard a lot of this - react is more efficient than using the DOM directly, etc but no one can tell me why - they are just parroting what they hear or get taught at coding camps and make a fool of themselves.
- xyz0 7y agoThe virtual DOM. The DOM is only re-rendered in places where the next DOM tree (virtual, based on new state) differs from the current DOM tree. [0] [0] https://stackoverflow.com/questions/21109361/why-is-reacts-concept-of-virtual-dom-said-to-be-more-performant-than-dirty-mode https://stackoverflow.com/questions/21109361/why-is-reacts-c...