Direction: Choose the correct option
Q1.
What is the Virtual DOM in React?
Direction: Choose the correct option
Q2.
How does React use the Virtual DOM to improve performance?
Direction: Choose the correct option
Q3.
What is the process of comparing the Virtual DOM with the previous version called?
Direction: Choose the correct option
Q4.
In a class component, which method triggers a re-render and updates the Virtual DOM?
Direction: Choose the correct option
Q5.
Which statement about the Virtual DOM is correct?
