πŸ“Š React Js
Q. Which attribute must be used with lists in React?
  • (A) ref
  • (B) id
  • (C) key
  • (D) className
πŸ’¬ Discuss
βœ… Correct Answer: (C) key

Explanation: The key attribute helps React identify which items have changed in a list.

Explanation by: Mr. Dubey
The key attribute helps React identify which items have changed in a list.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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