Запитання 14
What is the primary reason React uses a virtual DOM during re-rendering?
Варіанти відповідей
To apply all changes directly to the actual DOM immediately
To compare the new and previous virtual DOM and update the actual DOM efficiently
To avoid any update to the actual DOM
To prevent components from rendering more than once