← React Beginner Questions - Set 12 Q119

What is React’s Virtual DOM?

React Beginner Questions - Set 12

Example

// render builds a tree of plain objects, diffing old vs new
setCount(c => c + 1);   // one state change -> one new tree -> minimal DOM patch

What to notice

← Back to the question list