Which of the following best explains why Virtual DOM is faster than Real DOM?
Virtual DOM avoids unnecessary updates by comparing states
Virtual DOM requires no computation for rendering
Real DOM updates directly, causing slower renders
Virtual DOM does not require the browser to update the screen
This question is part of this quiz :
Working of React