← React Intermediate Questions - Set 1 Q7

What is React's reconciliation algorithm?

React Intermediate Questions - Set 1

Example

// Same type at the same position -> update in place
{ok ? <Banner tone="ok" /> : <Banner tone="warn" />}
// Different type -> unmount the old subtree, mount the new one

What to notice

← Back to the question list