A. “Key” prop is a way for React to identify a newly added item in a list and compare it during the “diffing” algorithm
B. It is one of the attributes in HTML
C. “Key” prop is used to look pretty, and there is no benefit whatsoever
D. None of these
Correct Answer is :
A. “Key” prop is a way for React to identify a newly added item in a list and compare it during the “diffing” algorithm