SpinTheMic
Pro

Explain it in 60 seconds

Rendering lists and the key prop

Frontend Engineering · React · Beginner

How do you render lists in React, and why are keys needed?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • map() over array to JSX.
  • Each item needs stable unique key.
  • Keys help React match items between renders.
  • Avoid index as key when list changes.
  • Keys are local to siblings.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics