πŸ“Š React Js
Q. Which of the following is true about React keys?
  • (A) They should be random
  • (B) They should be strings only
  • (C) They must be unique among siblings
  • (D) They must be global
πŸ’¬ Discuss
βœ… Correct Answer: (C) They must be unique among siblings

Explanation: Keys help React identify elements; they must be unique within their list context.

Explanation by: Mr. Dubey
Keys help React identify elements; they must be unique within their list context.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
84
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate