← React Beginner Questions - Set 12 Q119
React Beginner Questions - Set 12
1 2
// render builds a tree of plain objects, diffing old vs new setCount(c => c + 1); // one state change -> one new tree -> minimal DOM patch