← React Intermediate Questions - Set 11 Q101
What is reconciliation in React?
React Intermediate Questions - Set 11
Example
1
2
// type + position + key decide reuse
<Profile key={userId} userId={userId} />
What to notice
- Changing the key forces a remount — the standard way to reset state for a new record.
← Back to the question list