Question · JavaScript and React course · Module 1: React Basics
How does Virtual DOM work?
What is Virtual DOM in React?
Answer options
- A new type of database
- A virtual representation of the DOM in memory
- An alternative to HTML
- A way to style components
Show the answer
Correct answer:
- A virtual representation of the DOM in memory